Removes the given element from the given array.
This changes the given array.
The element to remove.
The removed element, or undefined if the array didn't contain the element.
Tip Your coding agent can search these docs locally with the Unpoly agent skill