Skip to content

[editorial] Shared steps between toArray and Array.fromAsync #28

Open
@js-choi

Description

@js-choi

Array.fromAsync and AsyncIterator.prototype.toArray are similar, although Array.fromAsync will likely reach Stage 4 first.

Once Array.fromAsync lands in ecma262, it would be good to have it and AsyncIterator.prototype.toArray share the same steps via an abstract operation.

See tc39/proposal-array-from-async#23.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions