archives

« Bugzilla Issues Index

#2640 — 14.4.13 EvaluateBody: Invalid assertion in step 1


14.4.13 Runtime Semantics: EvaluateBody

The assertion in step 1 is no longer valid, the current environment may also be a declarative environment record in case default parameters are used.


Test case:
---
(function*(a = 0){})()
---


fixed in rev24 editor's draft


fixed in rev24