Generator Arrow Functions

Waldemar Horwat waldemar at google.com
Tue Nov 26 14:52:26 PST 2013


On 11/26/2013 02:28 PM, Claude Pache wrote:
>  From the thread [1], I guess that parsing correctly the following thing would be obnoxious (at best)?
>
> 	(a = yield/b/g) =>* {}
>
> —Claude

Indeed.

And you can make even more obnoxious parses of the hypothetical combination of =>*, default parameters, and retroactive yield-scope:

(a = yield/"/) =>* (/"/g)

Are the two /"/'s regexps or is "/) =>* (/" a string token?

     Waldemar



More information about the es-discuss mailing list