Old Enough


#1

Here is my code. After I type in my age, I can get "TypeError: window.__runner is undefined." What am I doing wrong?

confirm ("Are you ready to play?")
var age = prompt("What's your age?");
if ( age < 13)
{
console.log("You are allowed to play but I take no responsibility.");
}
else
{
console.log("Let the good times roll!")
}

Replace this line with your code.


#2

your code is fine.try refresh the browser or use another browser.


#3

This post was flagged by the community and is temporarily hidden.