Debian Codegraph @

js/src/jit-test/tests/ion/bug728187.js

raw
1 function f(x) {
2 if (x.y()) {};
3 }
4 f({y: function() {}});
5 try {
6 f(10);
7 assertEq(0, 1);
8 } catch(e) {
9 assertEq(e instanceof TypeError, true);
10 }