We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Return the remaining elements of an array after chopping off n elements from the head.
n
The head means the beginning of the array, or the zeroth index.
function slasher(arr, howMany) { arr.splice(0, howMany); return arr; } slasher([1, 2, 3], 2); // returns [3]