This has come up a few times. Check out this thread, for example: http://esdiscuss.org/topic/generator-arrow-functions.
On Tue, Sep 23, 2014 at 9:40 AM, Hemanth H.M <[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] > https://mail.mozilla.org/listinfo/es-discuss > > -- Jeremy Martin 661.312.3853 http://devsmash.com @jmar777
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

