do while in jquery code example Example: do while loop in javascript do { text += "The number is " + i; i++; } while (i < 10);