RESOLVED FIXED143838
[ES6] Use specific functions for @@iterator functions
https://bugs.webkit.org/show_bug.cgi?id=143838
Summary [ES6] Use specific functions for @@iterator functions
Yusuke Suzuki
Reported 2015-04-16 12:27:23 PDT
In ES6, some functions are used as the method with the different names. For example, Map.protoytpe[Symbol.iterator] === Map.prototype.entries Set.protoytpe[Symbol.iterator] === Set.prototype.values Array.protoytpe[Symbol.iterator] === Array.prototype.values %Arguments%[Symbol.iterator] === Array.prototype.values And we dropp Arguments' iterator implementation and its method for @@iterator since now they use Array Iterator and Array.protoype.values.
Attachments
Patch (56.73 KB, patch)
2015-04-16 12:40 PDT, Yusuke Suzuki
no flags
Patch (57.12 KB, patch)
2015-04-16 13:15 PDT, Yusuke Suzuki
ggaren: review+
Yusuke Suzuki
Comment 1 2015-04-16 12:40:36 PDT
Yusuke Suzuki
Comment 2 2015-04-16 13:15:29 PDT
Geoffrey Garen
Comment 3 2015-04-16 13:23:16 PDT
Comment on attachment 250945 [details] Patch r=me
Yusuke Suzuki
Comment 4 2015-04-16 14:36:36 PDT
Note You need to log in before you can comment on or make changes to this bug.