What wrong in this code:
first alert return value 0 and second alert return value 0.
I think that there should be 1 and 2, is not it?
Code:
var newArray = new Array();
newArray.add("aaa","bbb");
alert (newArray.getLength());
newArray.add("ccc","ddd");
alert (newArray.length);
I think that there should be 1 and 2, is not it?
Comment