Pregunta de entrevista de ZoomInfo

how would you compared two objects in Javascript