Use Array#forEach method for array iteration.
var points = [{
x: 75,
y: 25
}, {
x: 75 + 0.0046,
y: 25
}];
points.forEach(function(obj) {
console.log(obj.x, obj.y);
})
Use Array#forEach method for array iteration.
var points = [{
x: 75,
y: 25
}, {
x: 75 + 0.0046,
y: 25
}];
points.forEach(function(obj) {
console.log(obj.x, obj.y);
})