« Bugzilla Issues Index
#2916 — Wrong length for new builtin functions
- bug_id:
2916
- creation_ts:
2014-05-29 08:56:00 -0700
- short_desc:
Wrong length for new builtin functions
- delta_ts:
2015-07-10 08:34:24 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 25: May 22, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
8666
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2014-05-29 08:56:16 -0700
New built in functions should follow the rules of ES6 when it comes to the length property. For example Map should have length 0 and not 1.
We should change the headers back to use optional parameters for consistency and change the rules for builtin function lengths in chapter 17 to also handle optional parameters.
- commentid:
12981
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-19 12:39:55 -0800
Fixed in rev34 editor's draft
updated lengths for:
Symbol, Map, Set, WeakMap, WeakSet
Reflect.construct, Reflect.enumerate, Reflect.get Reflect.set
- commentid:
13146
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-19 19:11:09 -0800
fixed in rev34