deep-slice
Recursive Array.prototype.slice()
Install
NPM
$ npm install --save deep-slice
Web Browser
Usage
Parameters
items
Array List of itemsstart
number The beginning of the specified portion of the array.end
number The end of the specified portion of the array.
Examples
const deepSlice = //=[[10, 20], [40, 50]]
Returns Array Returns a section of an array.
Related
- Array.prototype.slice() Mozilla Javascript reference
License
MIT © Denis Carriere