0.0.1 • Published 8 years ago
range-prototype
Licence
MIT
Version
0.0.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0
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')