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