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