Object in Javascript is a data type that comes in very handy when needing a more complex data structure. In the case of objects — the situations will be different — as javascript will check for the reference equality, not value equality, so testing if they have the same instance rather than the value.

3m read timeFrom towardsdev.com
Post cover image
Table of contents
What is an object?Types of equalityOther methods to check for equality
1 Comment

Sort: