Returns the array that removes the given element
Optional
the arrays to inspect
the element to remove
the array that removes the given element
remove(undefined, 'bar'); // undefinedremove(['foo', 'bar'], undefined); // ['foo', 'bar']remove(['foo', 'bar'], 'bar'); // ['foo'] Copy
remove(undefined, 'bar'); // undefinedremove(['foo', 'bar'], undefined); // ['foo', 'bar']remove(['foo', 'bar'], 'bar'); // ['foo']
Returns the array that removes the given element