range-prototype

0.0.1 • Public • Published

Range Prototype

Extend your JavaScript Number type with a 100 bytes polyfill:

require('range-prototype')
 
const list = [...10] // => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]

Installation

yarn

$ yarn add range-prototype

npm

$ npm install range-prototype

then simply require it in your project:

require('range-prototype')

License

MIT

/range-prototype/

    Package Sidebar

    Install

    npm i range-prototype

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.65 kB

    Total Files

    8

    Last publish

    Collaborators

    • micheleriva