JavaScript loop

JavaScript loop