JavaScript Programming/For Loops/Example Code