Why is this the case

Why do I get false for the 2 objects being the same? Should it not be true:

Hi,
They contain the same information, but they’re two separate objects.
both toyota and toyotaCopy exist in their own right, in different places in memory. Making a change to one will not affect the other directly.

Hope that helps

1 Like

Thanks so much!! That makes sense

1 Like