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