"Take props" from object

Dmitry Soshnikov dmitry.soshnikov at gmail.com
Thu Aug 20 04:29:58 UTC 2015

On Wed, Aug 19, 2015 at 9:22 PM, Dmitry Soshnikov <
dmitry.soshnikov at gmail.com> wrote:

> ```javascript
> var foo = {x, y, z} from bar;
> ```
> I haven't checked yet the grammar, seems should be fine from the first
> glance.
Yeah, it should be parsed first as an object literal, and then to the "take
props" operator if the lookahead is `from`.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150819/bcfc5b97/attachment.html>

More information about the es-discuss mailing list