packages/babel-plugin-transform-regenerator/test/fixtures/misc/yield-sparse-array/output.js
raw| 1 | // #15142 |
| 2 | () => { |
| 3 | return babelHelpers.regeneratorRuntime().async(function _callee$(_context) { |
| 4 | while (1) switch (_context.prev = _context.next) { |
| 5 | case 0: |
| 6 | _context.next = 2; |
| 7 | return babelHelpers.regeneratorRuntime().awrap(0); |
| 8 | case 2: |
| 9 | _context.t0 = _context.sent; |
| 10 | return _context.abrupt("return", [_context.t0,,]); |
| 11 | case 4: |
| 12 | case "end": |
| 13 | return _context.stop(); |
| 14 | } |
| 15 | }, null, null, null, Promise); |
| 16 | }; |