Isiah Meadows wrote:

Okay: is this a valid statement/expression? I didn't think so, but I may be wrong.

```js
({ foo(); bar(); })
```


It's a syntax error, in any JS repl or standard.

The Node repl only removes parens if it tries adding them first around braced input and that fails.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to