Skip to content

Async generator generator polyfill causes crashes in older browsers #3453

@tido64

Description

@tido64

The async generator generator polyfill introduced 0.18.8 causes crashes in "older" browsers (such as Hermes) because it assumes that Symbol.asyncIterator exists:

export var __yieldStar = value => {
var obj = value[__knownSymbol('asyncIterator')]

We've worked around the crash by polyfilling the symbol, but it feels like I'm missing something. It works for now, but I don't know if this causes other issues or whether there's a proper solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions