Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testApply.js
blob: 73e359228493ea31486c00f26c4b6348b582cc2a [
file
] [
log
] [
blame
]
function
testApply
()
{
var
q
=
[];
for
(
var
i
=
0
;
i
<
10
;
++
i
)
Array
.
prototype
.
push
.
apply
(
q
,
[
5
]);
return
q
.
join
(
","
);
}
assertEq
(
testApply
(),
"5,5,5,5,5,5,5,5,5,5"
);