packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife/output.js
raw symbols SCIP| 1 | babelHelpers.asyncToGenerator(function* () { |
| 2 | yield 'ok'; |
| 3 | })(); |
| 4 | babelHelpers.asyncToGenerator(function* () { |
| 5 | yield 'ok'; |
| 6 | })(); |
| 7 | /*#__PURE__*/(function () { |
| 8 | var _notIIFE = babelHelpers.asyncToGenerator(function* () { |
| 9 | yield 'ok'; |
| 10 | }); |
| 11 | function notIIFE() { |
| 12 | return _notIIFE.apply(this, arguments); |
| 13 | } |
| 14 | return notIIFE; |
| 15 | })(); |
| 16 | /*#__PURE__*/babelHelpers.asyncToGenerator(function* () { |
| 17 | yield 'not iife'; |
| 18 | }); |