ECMA-262: ElementList : ... AssignmentExpression? Wtf?

Uncloud Group hydroperhh at gmail.com
Sun Oct 29 09:46:24 UTC 2017


Why does a ArrayLiteral element  use *AssignmentExpression*, but on any
implementation works like a *PrimitiveExpression*? E.g.:

[ a = b ]

*AssignmentExpression *is something very different. I'm just confused.

[ x = y ]

What is this, my boys?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171029/453bfe78/attachment.html>


More information about the es-discuss mailing list