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.
1 Comment
Sort: