Senvion interview question

Basic Javascript question in Round 1