Old enough to play


#1

// Check if the user is ready to play!
confirm("I am ready to play");
//Age=13;
var Age = prompt("What is your Age ?");
if(Age<13)
{
console.log("they're allowed to play but you take no responsibility.");
}
else
{
console.log("give them an encouraging message to play on!");
}


#2

What error are you getting?