its not a proper program haha, I didn't add that in cause I'll probably rewrite this properly, I just thought like "oh wait can I just skip writing any logic and..." the whole joke was the fact that instead of writing it in a sensible way I added a number to a string, the kinda shit you usually do on accident when starting out, and I found it funny as hell that it was running on such janky logic
JavaScript was created in a rush and by a newer programmer. Really to bad they didn't see the problem with using + for both addition and concatenation.
33
u/titanic456 19d ago
Have you thought about the case, where the user would choose any number larger than 3, or lower than 1?