Skip to content

"each" and "forEach" don't work correctly on a "backward" range. #5

@mearns

Description

@mearns

When an XRange goes "backward" (i.e., the step is negative and finish is less than start), the map method iterates correctly, but each and forEach do not because they don't use the correct test for existing the for loop.

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