-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: None
-
Component/s: core-libs
-
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.