Javascript Interview Questions | Javascript loops and loop control