Remove all occurrences of el from arr in-place and return the mutated array. If arr is not an array, returns an empty array.
el
arr
element type
array to modify
element to remove
the same array instance with el removed
Remove all occurrences of
elfromarrin-place and return the mutated array. Ifarris not an array, returns an empty array.