Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Drop .toArray from this proposal #142

@btoo

Description

@btoo

.toArray seems needlessly specific since arrays are not the only things that iterators will need to be converted to

It's also redundant because Array.from already exists. Would it not be better to leave it up to each class to implement its own iterator -> class instance constructor (Object.fromEntries, new Set/Set.from, etc.)?

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