Pergunta de entrevista da empresa Workday

Write a function that compares any two numbers, strings, objects With Objects, we need to think about nested objects