JS Old enough to play?


here it is :grinning:
// Check if the user is ready to play!
confirm("I understand confirm!");
confirm("I am ready to play!");
var age = prompt("What's your age?");
if(age is less than 13) {
console.log("You can play,but I take no responsibility!");
} else {
console.log("Go ahead! You'll play very good!");


This is not code.
It should be

(age < 13)


I've changed it, but it didn't work