milesman34-range

1.0.0 • Public • Published

Range

The function range works like the version from Python, generating a range of numbers in the form of an array.

range(1, 11); //[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

range(1, 11, 2); //[1, 3, 5, 7, 9]

range(10, 5, -1); //[10, 9, 8, 7, 6]

range(5); //[0, 1, 2, 3, 4]

Readme

Keywords

Package Sidebar

Install

npm i milesman34-range

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.43 kB

Total Files

3

Last publish

Collaborators

  • milesman34