packages/babel-plugin-transform-computed-properties/test/fixtures/spec/definition-order/output.js
raw| 1 | var _a, _b, _y; |
| 2 | var a = (_a = {}, babelHelpers.defineAccessor("get", _a, "x", function () { |
| 3 | return 0; |
| 4 | }), babelHelpers.defineProperty(_a, "y", 1), _a); |
| 5 | var b = (_b = {}, babelHelpers.defineAccessor("get", _b, "x", function () { |
| 6 | return 0; |
| 7 | }), babelHelpers.defineProperty(_b, "x", 1), _b); |
| 8 | var x = 1; |
| 9 | var y = (_y = { |
| 10 | x |
| 11 | }, babelHelpers.defineAccessor("get", _y, "x", function () { |
| 12 | return 0; |
| 13 | }), babelHelpers.defineProperty(_y, "x", x), _y); |
| 14 | y.x = 2; |