Sign in
webkit
/
WebKit
/
36b74c3900290f2598b1d40cf6065a7028fc4a34
/
.
/
JSTests
/
stress
/
int32-array-unshift.js
blob: 4d4c69dfe37e2c81de1f2bbad2516b0842bce259 [
file
] [
log
] [
blame
]
//@ runDefault
var
x
=
[
2
,
1
];
Array
.
prototype
.
unshift
.
call
(
x
,
3
);
if
(
x
.
toString
()
!=
"3,2,1"
)
throw
"Error: bad result: "
+
describe
(
x
);