• Removes the undefined elements.

    Parameters

    • object: object

      The object whose undefined will be deleted.

    Returns object

    A copy of the object with the undefined elements deleted.