Skip to content

Feature request: Pass index and XRange object as 2nd and 3rd arguments to visitor callbacks #7

@mearns

Description

@mearns

Array::forEach and Array::map both pass in the iteration index and the array object itself as second and third parameters to the given callbacks. It would be nice to support this same pattern in each, forEach, and map on XRange objects.

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