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
Was the comparison between the behavior of a property containing a function vs a number unclear?
guiprav
changed the title
Properties containing functions aren't handled properly
Properties containing functions aren't replaced like numbers and other data types
Aug 25, 2016
Why should properties containing functions behave differently from, say, numbers?
mergeDeep({ a: () => 1, b: () => 2 }, { b: () => 3, c: () => 4 }).b()
3
2
vs.
mergeDeep({ a: 1, b: 2 }, { b: 3, c: 4 }).b
3
3
The text was updated successfully, but these errors were encountered: