[Webkit-unassigned] [Bug 143838] New: [ES6] Use specific functions for @@iterator functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 16 12:27:23 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143838

            Bug ID: 143838
           Summary: [ES6] Use specific functions for @@iterator functions
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150416/5d6cca70/attachment.html>


More information about the webkit-unassigned mailing list