I found that even without shorthand, the object literal can still be ambiguous with block.
```js()=>{ method() { }} shall it be interpreted as()=>({ method(){ // method body }}) or ()=>{ method(); { // block statement }}``` This is certainly an ambiguity that cannot be resolved by any transformation, or refinement of syntax. (so does the shorthand {x,y,z})
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss