//THE ONLY - REMOVE ARRAY FROM ARRAY let arr = [1,4,3,4,5]; let toRemove = [4,4]; toRemove.map(n => arr.splice(arr.indexOf(n),1));