packages/babel-plugin-transform-block-scoping/test/fixtures/general/for-break-continue-closure/output.js
raw symbols SCIP| 1 | var _loop = function () { |
| 2 | switch (true) { |
| 3 | case true: |
| 4 | { |
| 5 | var b = 1; |
| 6 | (function () { |
| 7 | return b; |
| 8 | }); |
| 9 | if (true) break; |
| 10 | return "continue"; |
| 11 | } |
| 12 | case false: |
| 13 | { |
| 14 | throw new Error("unreachable"); |
| 15 | } |
| 16 | } |
| 17 | }; |
| 18 | for (var a of [1]) { |
| 19 | var _ret = _loop(); |
| 20 | if (_ret === "continue") continue; |
| 21 | } |