We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e4767 commit 67d9009Copy full SHA for 67d9009
tests/test_builtin.js
@@ -372,6 +372,20 @@ function test_eval2()
372
f1(g);
373
f2(g);
374
assert(g_call_count, 2);
375
+ var e;
376
+ try {
377
+ new class extends Object {
378
+ constructor() {
379
+ (() => {
380
+ for (const _ in this);
381
+ eval("");
382
+ })();
383
+ }
384
+ };
385
+ } catch (_e) {
386
+ e = _e;
387
388
+ assert(e?.message, "this is not initialized");
389
}
390
391
function test_eval()
0 commit comments