Valeo interview question

How would you compare two objects in javascript?