Function "name" property

Ben Newman benjamin at cs.stanford.edu
Mon Mar 2 09:31:21 PST 2015


How about function.sent, to evoke sending a value into the generator via
.next?

On Thu, Feb 26, 2015 at 7:57 PM Allen Wirfs-Brock <allen at wirfs-brock.com>
wrote:

>
> On Feb 26, 2015, at 3:55 PM, Mark S. Miller wrote:
>
>
> But
> function.next -- Current yield result
> is awesome! Bravo. It solves a problem which is otherwise really hard to
> express.
>
>
> Actually, another possible name for this that I want to put on the table
> is:
>
> function.last --- the last value passed back via 'next'
>
> Allen
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150302/a229ce4b/attachment-0001.html>


More information about the es-discuss mailing list