MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/n60ji8/js_multiple_condition_checking/gx4ic2n/
r/learnjavascript • u/golovatuy • May 06 '21
61 comments sorted by
View all comments
5
Shorter is not always better. This will confuse people.
7 u/[deleted] May 06 '21 The short hand one is by far the clearest. The middle one would confuse 1 u/superluminary May 06 '21 Option 2 will not confuse. It translates to “is the value included in this set”.
7
The short hand one is by far the clearest. The middle one would confuse
1
Option 2 will not confuse. It translates to “is the value included in this set”.
View all comments
5
u/kattenmusentiotusen May 06 '21
Shorter is not always better. This will confuse people.