array-slice-g

1.0.0 • Public • Published

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

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i array-slice-g

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • targeral