Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testPrimitiveConstructorPrototype.js
blob: f0154082cde1fcae3cfdb983b290563709e83092 [
file
] [
log
] [
blame
]
function
testPrimitiveConstructorPrototype
()
{
var
f
=
function
(){};
f
.
prototype
=
false
;
for
(
let j
=
0
;
j
<
5
;++
j
)
{
new
f
;
}
return
"ok"
;
}
assertEq
(
testPrimitiveConstructorPrototype
(),
"ok"
);