Shorter syntax for arrow function assignment

dante federici c.dante.federici at gmail.com
Tue Oct 24 20:08:52 UTC 2017


The use case fading away doesn't mean you can drop support for it, or that
it won't still be in use.

Please stop trying to push your "shorthand" syntax of:
```
myFn() {
}
```

It's already been pointed out in multiple cases that:
1. The current usages are not "outmoded"
2. The proposed syntax has misleading `this` binding without the arrow
3. Blocks, ASI, and the object shorthand notation either conflict or make
it vague how to interpret

This isn't a beneficial syntax moving forward, and it doesn't seem to add
anything other than "I don't like typing '='".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171024/ef401b5d/attachment.html>


More information about the es-discuss mailing list