weimingtom / minijoe

Automatically exported from code.google.com/p/minijoe
1 stars 0 forks source link

Array length is wrong #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
var times = [];
times[0] = 5;
times[1] = 8;
times[2] = 15;
print("times.length " + times.length) ;

> displays : "times.length 1"

What is the expected output? What do you see instead?
displays : "times.length 3"

What version of the product are you using? On what operating system?
Minijoe-1.0.zip, same behaviour with latest svn version.

Please provide any additional information below.

Original issue reported on code.google.com by davidcoste@voila.fr on 22 Jan 2010 at 3:57