Debian Codegraph @

packages/babel-plugin-transform-block-scoping/test/fixtures/general/issue-4363/output.js

raw symbols SCIP
1 function WithoutCurlyBraces() {
2 var _this = this;
3 if (true) {
4 var _loop = function () {
5 function foo() {
6 return this;
7 }
8 function bar() {
9 return foo.call(this);
10 }
11 console.log(_this, k); // => undefined
12 };
13 for (var k in kv) {
14 _loop();
15 }
16 }
17 }
18 function WithCurlyBraces() {
19 var _this2 = this;
20 if (true) {
21 var _loop2 = function () {
22 function foo() {
23 return this;
24 }
25 function bar() {
26 return foo.call(this);
27 }
28 console.log(_this2, k); // => 777
29 };
30 for (var k in kv) {
31 _loop2();
32 }
33 }
34 }