Debian Codegraph @

js/src/jit-test/tests/basic/bug1678442.js

raw
1 var fun = function() {};
2 var newTarget = (function(){}).bind();
3 Object.defineProperty(newTarget, "prototype", {get() { relazifyFunctions() }});
4 for (var i = 0; i < 10; i++) {
5 Reflect.construct(fun, [], newTarget);
6 }