javascript-exercises/removeFromArray at master · redcat34/javascript-exercises · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

Exercise 04 - removeFromArray

Implement a function that takes an array and some other arguments then removes the other arguments from that array:

remove([1,2,3,4], 3) // should remove 3 and return [1,2,4]