the number entered in the prompt is stored in the variable called value and the if statement checks if the value variable is empty, if it is empty it break meaning it stops asking you to Enter a number then sums up all the number you have entered then display it back to you with the alert popup