archives

« Bugzilla Issues Index

#4495 — 14.4.4 Contains: Merge steps


14.4.4 Static Semantics: Contains


GeneratorDeclaration and GeneratorExpression can be handled in a single step:

---
GeneratorDeclaration : function * BindingIdentifier ( FormalParameters ) { GeneratorBody }
GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody }
GeneratorExpression : function * BindingIdentifieropt ( FormalParameters ) { GeneratorBody }

1. Return false.
---


Fixed in ES2016 Draft (b3d8f5b).