Pergunta de entrevista da empresa Nextech Systems

What's the expected output of a given javascript function? How might you change it to get a specific output under certain conditions.