« Bugzilla Issues Index
#2664 — For-in/of needs extra scope of in/of expr evaluation
- bug_id:
2664
- creation_ts:
2014-04-16 16:15:00 -0700
- short_desc:
For-in/of needs extra scope of in/of expr evaluation
- delta_ts:
2014-05-06 16:39:12 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 23: April 5, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- commentid:
7759
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-16 16:15:44 -0700
see TC39 discussion https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-04/apr-8.md#open-issues
The in/of expression needs to evaluated in a scope where the where any let/const bindings created by the for-in are in their TDZ
- commentid:
7817
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-18 11:58:03 -0700
fixed in rev24 editor's draft
- commentid:
8180
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-05-06 16:39:12 -0700
fixed in rev24