Valeo Interview Question

How would you compare two objects in javascript?