Hemanth H.M wrote:
> It is one proposed syntax for async functions.
Cool, thanks.
Not sure who wrote the >-cited line -- Jeremy didn't.
On Tue, Sep 23, 2014 at 7:30 PM, Jeremy Martin <[email protected]
<mailto:[email protected]>> wrote:
This has come up a few times. Check out this thread, for example:
http://esdiscuss.org/topic/generator-arrow-functions.
Jeremy makes a good point, which would help reduce noise on the list if
everyone grokked it. Check esdiscuss.org (use site:esdiscuss.org search
with keywords) before posting. Several threads lately would have been
avoided by the original poster doing this and finding the answer.
It's sometimes hard to find with a quick search -- you may need to look
around and refine your search. We surely could use a consolidated
rationale document for the many design decisions in ES6. But we have a
resource in esdiscuss.org, which can help cut down on noise.
/be
On Tue, Sep 23, 2014 at 9:40 AM, Hemanth H.M <[email protected]
<mailto:[email protected]>> wrote:
Is there a mention about it somewhere?
Something like:
```
gen = (x) * => yield x+2;
```
I understand that arrow functions are lexically bound and has
an explicitly return in it's a one liner.
--
/'I am what I am because of who we all are'/
h3manth.com <http://www.h3manth.com>
/-- Hemanth HM/
_______________________________________________
es-discuss mailing list
[email protected] <mailto:[email protected]>
https://mail.mozilla.org/listinfo/es-discuss
--
Jeremy Martin
661.312.3853 <tel:661.312.3853>
http://devsmash.com
@jmar777
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss