1.1.3 • Published 10 years ago
@f/slice v1.1.3
slice
Shallow copy of array or portion of array.
Installation
$ npm install @f/sliceUsage
var slice = require('@f/slice')
slice([1, 2], 1) // => 2API
slice(array, begin, end)
array- source arraybegin- beginning of copyend- end of copy
Returns: copy of array
License
MIT