Skip to content

albreax/range

Repository files navigation

range

Description

Create a range on object.

Scripts

Testing

npm test

Building

npm run build

Examples

Example 1

    const r = range(2, 10);
    console.log([...r]) // [2, 3, 4, 5, 6, 7, 8, 9]

Example 2

    const r = range(2, 10, 2);
    console.log([...r]) // [2, 4, 6, 8]

Example 3

    const r = range(-2, 6, 2);
    console.log([...r]) // [-2, 0, 2, 4]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published