/\

Pointless button

Below is some JavaScript containing Smudge the cat that was used for an Age Testing Algorithm.

console.log("What is your age?"); document.write("Please enter your age."); function ageDetect() { let age = 1; if ('age' <= 5) { console.log('not old enough'); document.write('Smudge the cat frowns upon you!'); } else ('age <= 18'); { console.log('old enough'); document.write("Yes, Meow- I mean hello!"); } };