Skip to content

Extending JavaScript's slice #25

@jakirkham

Description

@jakirkham

In the docs, it says slice doesn't support steps because JavaScript doesn't. Though it looks like there is a proposal to add slices with steps to JavaScript. In the interim, this gist has a simple slice implementation. Also this repo implements slice support with custom objects. They discuss this work in this blogpost.

ref: http://pscript.readthedocs.io/en/latest/intro.html#support

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions