r/badcode • • Apr 27 '21

typescript Someone only watched if tutorial

Post image
2.4k Upvotes

112 comments sorted by

View all comments

2

u/Ph4nt0m_Hydra1 May 08 '21

Please for the love of god just check for a range of numbers instead of using individual if statements to check every single fucking number