Generators with arrow functions.

Jeremy Martin jmar777 at gmail.com
Tue Sep 23 07:00:03 PDT 2014


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 <hemanth.hm at gmail.com> 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
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
Jeremy Martin
661.312.3853
http://devsmash.com
@jmar777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140923/9de118c3/attachment.html>


More information about the es-discuss mailing list