Pergunta de entrevista da empresa Y Lift

Some easy javascript leet-code style questions. Googling and stack overflow was an option provided to me.