Advertisement
KodingKid

Javascript age restriction

Mar 28th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (age < 13) text = "Too young to use this app";
  2. if (age > 13) text = "Old enough to use this app";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement