1.0.0 • Published 6 years ago

array-slice-g v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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']