Source code
Revision control
Copy as Markdown
Other Tools
var p = new Proxy({}, {
has : function(id) {}
});
RegExp.prototype.__proto__ = p;
function f() {
if (/a/.exec("a"))
return 1;
return 0;
}
delete RegExp.prototype.test;
f();