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