Debian Codegraph @

packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/function-call-nested-function/exec.js

raw symbols SCIP
1 expect(() => {
2 function f() {
3 return function() { x };
4 }
5 let g = f();
6 let x;
7 g();
8 }).not.toThrow();
9
10 expect(() => {
11 function f() {
12 return function() { x };
13 }
14 let g = f();
15 g();
16 let x;
17 }).toThrow(ReferenceError);