-
Bug
-
Resolution: Fixed
-
P2
-
None
-
None
-
b82
-
Verified
var a = Object.create(Array.prototype);
a.length=4;
print(a.length);
Nashorn says length is 0, v8/firefox say it's 4; from a quick look at ES5 I tend to agree with the latter.
a.length=4;
print(a.length);
Nashorn says length is 0, v8/firefox say it's 4; from a quick look at ES5 I tend to agree with the latter.