2014-10-25 09:09:55 +11:00

2 lines
56 B
JavaScript

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