Pregunta de entrevista de Taxfix

basic javascript questions, problem-solving questions.