From this MDN resource, the spread operator can be used for copying. I tried copying one object to another
const product1 = {'name': 'Pejeta Coffee Beans', 'price':500.00, 'category':'beverages'}
const product2 = {...product}
product1 === product2 //returns false
and after comparing the two objects, I got a false result. What could be the underlying reason fo this?