Javascript – Dose splice works when the second parameter is an array.length?
I want to implement a function that takes an array and some other arguments then removes the other arguments from that array. So i used the rest parameter for the second argument then used Array.from to convert it an array,…