Pergunta de entrevista da empresa RF-SMART

Very simple JavaScript assessment and you need to find errors in the assessment.