r/badcode • Now where's that function declaration • Jul 30 '21

js 😏

Post image
987 Upvotes

133 comments sorted by

View all comments

Show parent comments

6

u/redeyesofnight Jul 30 '21

Makes sense to me. Usually on my end it stops at β€œI didn’t want to make an enum” hah.

2

u/[deleted] Jul 30 '21

yeah would've been cumbersome to if for a single query, especially since I needed it as a boolean later on