If I execute below code on chrome console then, I got answer as associative array:
var arr= [];
var i = 1;
for(var j = 1; j < 3; j++)
arr[j]=j;console.log(arr);
Ans : [1: 1, 2: 2]
But when i execute using node: [ , 1, 2 ]
Why there is so difference? As far as i know both are using v8.