I cant find aproblem in this code.can some one help


// Check if the user is ready to play!
confirm("I understand confirm!");
var variable =age;
var age = prompt("What's your age");
if (age is less than 13){console.log("dude your age is great but i take no responsibility!.")}
else {console.log("please continue")}


nvm i found out ,it is if (age<13)