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
I would expect both examples to result in the same outcome, but for some reason it decided to use 0 as a key for a new object, rather than an index in an array.
I've noticed some discrepancies when using numeric keys w/
setIn
Consider the following:
I would expect both examples to result in the same outcome, but for some reason it decided to use
0
as a key for a new object, rather than an index in an array.There are other use cases with similar outcomes:
Again, I would expect the second to produce an array, rather than an object.
The text was updated successfully, but these errors were encountered: