summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1678442.js
blob: d2f3dd5823cb6c590ab5292a41c9d4d13f3e0307 (plain)
1
2
3
4
5
6
var fun = function() {};
var newTarget = (function(){}).bind();
Object.defineProperty(newTarget, "prototype", {get() { relazifyFunctions() }});
for (var i = 0; i < 10; i++) {
    Reflect.construct(fun, [], newTarget);
}