In the async generator examples, a syntax like
is used. However, this does not seem to be parseable by the ES6 grammar and https://github.com/lukehoban/ecmascript-asyncawait. await expects an UnaryExpression, while yield produces an AssignmentExpression.
In the async generator examples, a syntax like
is used. However, this does not seem to be parseable by the ES6 grammar and https://github.com/lukehoban/ecmascript-asyncawait.
awaitexpects an UnaryExpression, whileyieldproduces an AssignmentExpression.