For, While, and Do...While Loops in JavaScript |

by kirupa | 4 March 2014

When you are coding something, there will be times when you want to repeat an action or run some code multiple times. For example, let's say we have a function called saySomething that we want to repeatedly call 10 times.

This is a companion discussion topic for the original entry at