• This method is like _.defaults except that it recursively assigns default properties.

    Parameters

    • object: any

      The destination object.

    • Rest...sources: any[]

      The source objects.

    Returns any

    Returns object.