dataxu interview question

Some basic JavaScript questions.