2014-10-11 22:33:08 +11:00

2 lines
56 B
JavaScript

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