Debian Codegraph @

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

raw
1 var p = new Proxy({}, {
2 has : function(id) {}
3 });
4 RegExp.prototype.__proto__ = p;
5 function f() {
6 if (/a/.exec("a"))
7 return 1;
8 return 0;
9 }
10 delete RegExp.prototype.test;
11 f();
12