packages/babel-plugin-transform-regenerator/test/fixtures/misc/computed-properties/output.js
raw| 1 | var o = { |
| 2 | foo() { |
| 3 | return /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() { |
| 4 | return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) { |
| 5 | while (1) switch (_context.prev = _context.next) { |
| 6 | case 0: |
| 7 | return _context.abrupt("return", "foo"); |
| 8 | case 1: |
| 9 | case "end": |
| 10 | return _context.stop(); |
| 11 | } |
| 12 | }, _callee); |
| 13 | })(); |
| 14 | } |
| 15 | }; |