blob: 30f390315783a94fd330075c932f20d903c32454 [file] [log] [blame]
function test() {
return (() => {
try { Function("0 || () => 2")(); } catch(e) { return true; }
})();
}
if (!test())
throw new Error("Test failed");