Here is the front of my code, and I like to embed a break statement after the "else" if tha answer is over than 18
setTimeout(function(){
confirm("I am ready to play!");
age= prompt("What's your age?");
if(age<18){
alert('You are allow to play!');
}
else{
alert("No!");
};
breakis used to stop afororwhileloop early. Your question does not make sense, as there is no loop in the above code.