|
|
4 месяцев назад | |
|---|---|---|
| .. | ||
| LICENSE | 4 месяцев назад | |
| README.md | 4 месяцев назад | |
| index.js | 4 месяцев назад | |
| package.json | 4 месяцев назад | |
Array-slice method. Slices
arrayfrom thestartindex up to, but not including, theendindex.
This function is used instead of Array#slice to support node lists in IE < 9 and to ensure dense arrays are returned.
npm i array-slice --save
var slice = require('array-slice');
var arr = ['a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
slice(arr, 3, 6);
//=> ['e', 'f', 'g']
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on April 07, 2015.