Claude Pache (2014-08-22T17:58:59.000Z)
> Le 22 août 2014 à 16:22, Kevin Smith <zenparsing at gmail.com> a écrit :
> 
> 
> It seems like what we're trying to do is to emulate a contextual keyword using a weird "outside of the parameter list" parameter.  I suppose one ideal future-proof way forward would be to reserve an additional word inside of generators for this potential use in ES7+. 
> 
> Of course, everyone would have to agree on what that reserved word should be...
> 

Another option is to use some creative syntax involving the keyword `yield`: today, we have already `yield` and `yield*` which mean two different things; one could for example say that `(yield?)` would retrieve the last received value without pausing the generator.

—Claude
domenic at domenicdenicola.com (2014-08-26T18:26:58.018Z)
Another option is to use some creative syntax involving the keyword `yield`: today, we have already `yield` and `yield*` which mean two different things; one could for example say that `(yield?)` would retrieve the last received value without pausing the generator.