Removes the undefined elements.
The object whose undefined will be deleted.
A copy of the object with the undefined elements deleted.
Removes the undefined elements.