Curriefied version of Array.prototype.slice
Array.prototype.slice
const source = [1, 2, 3];slice(0, 1)(source) // [1] with type number[] Copy
const source = [1, 2, 3];slice(0, 1)(source) // [1] with type number[]
Optional
Curriefied version of
Array.prototype.slice
Example