0.0.1 • Published 6 years ago
range-prototype v0.0.1
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
0.0.1
6 years ago