how do you run a for loop while the user works javascript code example Example: javascript while loop while (i < 10) { text += "The number is " + i; i++; }