archives

« Bugzilla Issues Index

#1560 — Should Array.prototype.keys return numbers or strings?


Right now it is spec'ed to return strings but it seems more useful for it to return numbers.


I think you should start a discussion on this on es-discuss or at the next TC39 meeting.


At the f2f meeting today we agreed that Array.prototype.keys and Array.prototype.entries should use Number and not String.


fixed in rev17 editor's draft


fixed in rev17, August 23, 2013 draft