2014-09-29 18:29:08 +10:00

2 lines
56 B
JavaScript

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