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
JavaScript non-primitive objects are memory references. So, if variables in two different objects point to the same memory reference, it should return true.
JavaScript non-primitive objects are memory references. So, if variables in two different objects point to the same memory reference, it should return true.
Take this code for example:
A and B are exactly the same, since the
a
key points to the same object. It's different from callingBecause they point to different objects.
Should the isPrimitive check be dropped from the test?
The text was updated successfully, but these errors were encountered: