[Webkit-unassigned] [Bug 160412] New: [ES2016] Implement Object.entries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 11:23:08 PDT 2016


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

            Bug ID: 160412
           Summary: [ES2016] Implement Object.entries
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gskachkov at gmail.com

Short example from ES2016 compatibility table:

/////////
var obj = Object.create({ a: "qux", d: "qux" });
obj.a = "foo"; obj.b = "bar"; obj.c = "baz";
var e = Object.entries(obj);
return Array.isArray(e)
&& e.length === 3
&& String(e[0]) === "a,foo"
&& String(e[1]) === "b,bar"
&& String(e[2]) === "c,baz";
///////
See description by following url https://github.com/tc39/proposal-object-values-entries

-- 
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/20160801/d1484a1a/attachment.html>


More information about the webkit-unassigned mailing list