projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
instanceOfWithKnownTypes.js
1
// |jit-test| error: TypeError
\r
2
\r
3
// Verify that the compiler doesn't assert.
\r
4
\r
5
function f() {
\r
6
var o = {}, p = {};
\r
7
z = o instanceof p;
\r
8
z = 3 instanceof p;
\r
9
z = p instanceof 3;
\r
10
z = 3 instanceof 4;
\r
11
}
\r
12
\r
13
f();
\r