Object
Defaultsdeep

_.defaultsDeep(object, [sources])

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

Note: This method mutates object.

Arguments

object (Object): The destination object.
[sources] (...Object): The source objects.

Returns

(Object): Returns object.

Example

Deep