Files
babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-1/input.js
Huáng Jùnliàng a470f7b479 Recover from shorthand assign exprs (#13968)
* refactor: avoid duplicate property access

* refactor: tweak parseMember

* polish: recover from shorthand assign in exprs
2021-11-19 10:22:29 -05:00

5 lines
45 B
JavaScript

const obj = {
bar: x = 123,
foo = 123
};