let x = 10; while(x < 20) { //when x is less than 20 x++; //add 1 to x console.log(x); //logs the numbers 11 - 20 to the console }