You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs, I would expect both a and c to be the same value once defaultsDeep has been called.
_.defaultsDeep(object, [sources])
[source](https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L12836)[npm package](https://www.npmjs.com/package/lodash.defaultsdeep)
This method is like [_.defaults](https://lodash.com/docs/#defaults) except that it recursively assigns default properties.
Note: This method mutates object.
Since
3.10.0
Arguments
object (Object): The destination object.
[sources] (...Object): The source objects.
Returns
(Object): Returns object.
The text was updated successfully, but these errors were encountered:
I'm getting inconsistent behaviour in
defaultsDeep
between the mutated object and the return value.According to the docs, I would expect both
a
andc
to be the same value once defaultsDeep has been called.The text was updated successfully, but these errors were encountered: