That's my first own question on StackOwerflow.
My problem in JavaScript's arrays is:
var arr=[];
arr[0] = 'a';
arr[1] = 'b';
arr['2']='c';
arr['x']='d';
arr.y='e';
console.log(arr);
[ 'a', 'b', 'c', x: 'd', y: 'e' ] -- this is what i get
And i do not understand what is that actually:
arr['2']='c';
arr['x']='d';
arr.y='e';
I did not expected that behaviour because i've not seen that examples and theory before