Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug642248.js
blob: 8c37b76759208b4792125f6f1fa7faefaf273800 [
file
] [
log
] [
blame
]
function
test
(
makeNonArray
)
{
function
C
()
{}
C
.
prototype
=
[]
c
=
new
C
();
c
.
push
(
"foo"
);
return
c
.
length
}
assertEq
(
test
(
true
),
1
);
var
a
=
[];
var
b
=
Object
.
create
(
a
);