archives

« Bugzilla Issues Index

#2200 — 25.2.1.1 GeneratorFunction: Allow GeneratorFunction without YieldExpression


25.2.1.1 GeneratorFunction (p1, p2, … , pn, body), step 10:

> 10. If funcBody Contains YieldExpression is false, then throw a SyntaxError exception.

This step should be removed.


fixed in rev21 editor's draft


fixed in rev21 draft