Pergunta de entrevista da empresa ANZU Technologies

Some javascript code to tell the output. Very simple though.