packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-let-const/output.mjs
raw| 1 | System.register([], function (_export, _context) { |
| 2 | "use strict"; |
| 3 | |
| 4 | var l_foo, c_foo, l_bar, c_bar; |
| 5 | return { |
| 6 | setters: [], |
| 7 | execute: function () { |
| 8 | _export("l_foo", l_foo = 1); |
| 9 | _export("c_foo", c_foo = 2); |
| 10 | { |
| 11 | let l_foo, l_bar; |
| 12 | const c_foo = 3; |
| 13 | const c_bar = 4; |
| 14 | } |
| 15 | _export("l_bar", l_bar = 4); |
| 16 | _export("c_bar", c_bar = 6); |
| 17 | } |
| 18 | }; |
| 19 | }); |