Sign in
webkit
/
WebKit
/
f37cfd796977af45f4fb57732dd1434fd0fb8e61
/
.
/
JSTests
/
stress
/
contiguous-array-unshift.js
blob: 2509d9c3a4d6bd2b6f7a188dd22b374979254ba9 [
file
] [
log
] [
blame
]
//@ runDefault
var
x
=
[
'b'
,
'a'
];
Array
.
prototype
.
unshift
.
call
(
x
,
'c'
);
if
(
x
.
toString
()
!=
"c,b,a"
)
throw
"Error: bad result: "
+
describe
(
x
);