« Bugzilla Issues Index
#3273 — Exclude explanation about lexical this in Arrow functions in Set.p.forEach
- bug_id:
3273
- creation_ts:
2014-10-10 16:34:00 -0700
- short_desc:
Exclude explanation about lexical this in Arrow functions in Set.p.forEach
- delta_ts:
2014-10-14 15:17:58 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 27: August 24, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
dmitry.soshnikov
- assigned_to:
Allen Wirfs-Brock
- commentid:
10310
- comment_count:
0
- who:
dmitry.soshnikov
- bug_when:
2014-10-10 16:34:39 -0700
The `Set.prototype.forEach` [1] in its description explains that `thisArg` is ignored in case if the callback is an arrow function.
This can be excluded, since it goes from the definition of an Arrow function, and is not directly related to `Set.prototype.forEach`. Also it's not mentioned anywhere else in similar cases (like `Map.prototype.forEach`).
[1] http://people.mozilla.org/~jorendorff/es6-draft.html#sec-set.prototype.foreach
- commentid:
10348
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-13 13:10:04 -0700
fixed in rev28 editor's draft
- commentid:
10463
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:58 -0700
fixed in rev28