Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
instanceOfWithKnownTypes.js
blob: 0ca3dc8d94770e88e4a7e4745eb598bff5378f21 [
file
] [
log
] [
blame
]
// |jit-test| error: TypeError
// Verify that the compiler doesn't assert.
function
f
()
{
var
o
=
{},
p
=
{};
z
=
o instanceof p
;
z
=
3
instanceof p
;
z
=
p instanceof
3
;
z
=
3
instanceof
4
;
}
f
();