mirror of
https://github.com/tc39/test262.git
synced 2025-05-03 14:30:27 +02:00
13 lines
188 B
JavaScript
13 lines
188 B
JavaScript
//@ requireOptions("--jitPolicyScale=0")
|
|
|
|
function foo(x) {
|
|
try {
|
|
new x();
|
|
} catch {
|
|
}
|
|
}
|
|
|
|
foo(function() {});
|
|
for (let i = 0; i < 10000; ++i)
|
|
foo(() => undefined);
|