Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
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
);