Pregunta de entrevista de Tata Consultancy Services

compare javascript object? Write sample code