Skip to content

for..of with iterators #3164

Closed
Closed
@SergioMorchon

Description

@SergioMorchon

It would be nice if the new sintax for (let value of values) works with iterators; ie:

for (let value of myMap.values()) {
    doSomething(value);
}

Related with #2695 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions