-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcountArray.js
26 lines (25 loc) · 1.66 KB
/
countArray.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
var stock = [
{ placements: [{ X: 50, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 50, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 1100, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 1100, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 2150, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 2150, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 3200, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 3200, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 4250, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 4250, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 5300, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 5300, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 6350, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 6350, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 7400, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 7400, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 8450, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 8450, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 9500, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 9500, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 10550, Y: 50, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
{ placements: [{ X: 10550, Y: 640, Rotate: 0, AnchorX: 0, AnchorY: 0 }] },
];
console.log(stock.length);