packages/babel-plugin-proposal-class-properties/test/fixtures/assumption-setPublicClassFields/length-name-use-define/output.js
raw symbols SCIP| 1 | let _bar, _name; |
| 2 | _bar = bar; |
| 3 | _name = name; |
| 4 | class A { |
| 5 | constructor() { |
| 6 | this.name = 8; |
| 7 | this.length = 9; |
| 8 | } |
| 9 | } |
| 10 | babelHelpers.defineProperty(A, "name", 1); |
| 11 | babelHelpers.defineProperty(A, "length", 2); |
| 12 | A.foo = 3; |
| 13 | A[_bar] = 4; |
| 14 | babelHelpers.defineProperty(A, "name", 5); |
| 15 | A[_name] = 6; |
| 16 | babelHelpers.defineProperty(A, "name", 7); |