In the following declarations of arrays,

 var t1 = [,];
var t2 = [,,];

alert(t1.length)

Firefox returns values of "1" and "2" as length of "t1" and "t2"
respectively. However, Rhino returns "0" in both cases.

This test was part of acid test cases to check ECMA compatibility. I
was wondering if there is any reason for not supporting the above
declarations.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to