array-slice-g
v1.0.0
Published
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.Study from jonschlinkert/array-slice
Downloads
6
Maintainers
Readme
array-slice
Array-slice method. Slices array
from the start
index up to, but not including, the end
index. Study from Jon Schlinkert/array-slice
Study from jonschlinkert/array-slice
Install
Install with npm:
$ npm install --save array-slice
Usage
var slice = require('array-slice');
var arr = ['a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
slice(arr, 3, 6);
//=> ['e', 'f', 'g']