2014-11-23 16:17:49 +11:00

2 lines
56 B
JavaScript

var {topLeft: [x1, y1], bottomRight: [x2, y2] } = rect;