immutable-array.of
immutable-array.of
exports a function that creates a plain object useful for immutable array operations like
immutable-array.push immutable-array.every immutable-array.reduce immutable-array.findIndexFrom
Install
$ npm install immutable-array.of --save
Usage
const of ={array: 1 2 3 4 5 length: 5}
Support
- Node.js >=6
- ES2015 transpilers
License
MIT