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