« Bugzilla Issues Index
#1560 — Should Array.prototype.keys return numbers or strings?
- bug_id:
1560
- creation_ts:
2013-06-12 12:41:00 -0700
- short_desc:
Should Array.prototype.keys return numbers or strings?
- delta_ts:
2015-07-10 08:34:20 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 15: May 14, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
4183
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2013-06-12 12:41:26 -0700
Right now it is spec'ed to return strings but it seems more useful for it to return numbers.
- commentid:
4241
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-06-18 10:06:51 -0700
I think you should start a discussion on this on es-discuss or at the next TC39 meeting.
- commentid:
4567
- comment_count:
2
- who:
Erik Arvidsson
- bug_when:
2013-07-24 16:50:44 -0700
At the f2f meeting today we agreed that Array.prototype.keys and Array.prototype.entries should use Number and not String.
- commentid:
4982
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-19 17:58:53 -0700
fixed in rev17 editor's draft
- commentid:
5080
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:22:32 -0700
fixed in rev17, August 23, 2013 draft