Shorter syntax for arrow function assignment

dante federici c.dante.federici at gmail.com
Wed Oct 25 15:07:31 UTC 2017


Sorry I was unclear -- I was referring to "If we were to add this syntax,
then seeing this code with knowing how JS interprets the current syntax, I
would expect [x] to be the outcome"

I wasn't trying to imply it would work as-is -- either way, sorry for not
being clear. If anything the confusion around the newline interacting with
the shortened syntax as well as this miscommunication should probably
indicate something about the idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171025/02979022/attachment.html>


More information about the es-discuss mailing list