About
This dependency reimplements the native Array.prototype.slice() method. It is supported by all modern browsers and Node.js versions since the beginning of JavaScript (ES3).
// Get a subarray of an array
const arr = ["a", "b", "c", "d", "e"];
const subarr = arr.slice(1, 3);
// ["b", "c"]