Pregunta de entrevista de Valeo

How would you compare two objects in javascript?