Sign in
webkit
/
WebKit
/
3171213d84ddc1cb3289622b38ea4b8b7d089653
/
.
/
JSTests
/
stress
/
array-storage-array-unshift.js
blob: a4ae62c592ae8cb9f96e2a0269fdaade91830da1 [
file
] [
log
] [
blame
]
//@ runDefault
var
x
=
[
2.5
,
1.5
];
x
.
length
=
1000000000
;
x
.
length
=
2
;
Array
.
prototype
.
unshift
.
call
(
x
,
3.5
);
if
(
x
.
toString
()
!=
"3.5,2.5,1.5"
)
throw
"Error: bad result: "
+
describe
(
x
);