Generator * syntax

Allen Wirfs-Brock allen at wirfs-brock.com
Sun Mar 23 13:15:08 PDT 2014


On Mar 23, 2014, at 9:59 AM, Marcus Stade wrote:

> Does this mean that the body of a generator function is strict mode, or just that yield is reserved?

No, but within generator functions 'yield' is always interpreted as the yield operator.

Allen




More information about the es-discuss mailing list