archives

« Bugzilla Issues Index

#3175 — 13.6.4.1 Early Errors: Allow duplicate names in binding pattern for non-lexical declarations


13.6.4.1 Static Semantics: Early Errors


Allow `for (var {a,a} of [{}]) ;` for consistency with `var {a, a} = {}`? The current early error restriction disallows duplicate names in ForBinding binding patterns even for `var` declarations.


fixed in rev28 editor's draft


fixed in rev28