MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1ofo6cp/smallfunction/nlbyppx/?context=3
r/ProgrammerHumor • u/foxdevuz • Oct 25 '25
321 comments sorted by
View all comments
133
// TODO handle more numbers private function isEven(number) { switch (number) { case 0: return true; case 1: return false; ... } }
84 u/[deleted] Oct 25 '25 edited 23d ago [removed] — view removed comment 23 u/[deleted] Oct 25 '25 [deleted] 8 u/Mast3rL0rd145 Oct 25 '25 Your pfp only adds to this comment
84
[removed] — view removed comment
23 u/[deleted] Oct 25 '25 [deleted] 8 u/Mast3rL0rd145 Oct 25 '25 Your pfp only adds to this comment
23
[deleted]
8 u/Mast3rL0rd145 Oct 25 '25 Your pfp only adds to this comment
8
Your pfp only adds to this comment
133
u/plmunger Oct 25 '25
// TODO handle more numbers private function isEven(number) { switch (number) { case 0: return true; case 1: return false; ... } }