Pergunta de entrevista da empresa ZoomInfo

how would you compared two objects in Javascript