[Webkit-unassigned] [Bug 167727] New: [ESNext] Async iteration - Implement yield *: Delegation of async generator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 01:56:04 PST 2017


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

            Bug ID: 167727
           Summary: [ESNext] Async iteration - Implement yield *:
                    Delegation of async generator
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local 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

Implement yield* Delegation of async generator
https://tc39.github.io/proposal-async-iteration/#sec-asyncgenerator-definitions-evaluation
'''
function* boo() {
  yield 1;
  yield 2;
}

function* foo() {
  yield* boo();
  yield 3;
}

var iter = foo();

print(iter.next().value); // 1, done = false 
print(iter.next().value); // 2, done = false
print(iter.next().value); // 3, done = false
print(iter.next().value); // undefined, done = true
'''

-- 
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/20170202/527753da/attachment.html>


More information about the webkit-unassigned mailing list