array-slice-g

Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.Study from jonschlinkert/array-slice

Usage no npm install needed!

<script type="module">
  import arraySliceG from 'https://cdn.skypack.dev/array-slice-g';
</script>

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