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