1.0.0 • Published 8 years ago
array-slice-g v1.0.0
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-sliceUsage
var slice = require('array-slice');
var arr = ['a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
slice(arr, 3, 6);
//=> ['e', 'f', 'g']1.0.0
8 years ago