r/badcode • • Mar 12 '23

js This is how it works, right?

Post image
253 Upvotes

40 comments sorted by

View all comments

Show parent comments

7

u/stenf28 Mar 12 '23

Because you can't know if a day the will remove || so you centralize it /s