Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- confirm("I am ready to play")
- var age prompt=("What is your age?")
- if ( age >= 13) {
- console.log("You are old enough to play")
- }
- else (age <= 13) {
- console.log("You are not old enough to play")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement