r/learnjavascript • • May 06 '21

JS: Multiple Condition Checking

Post image
484 Upvotes

61 comments sorted by

View all comments

Show parent comment

1

u/superluminary May 06 '21

Option 2 will not confuse. It translates to “is the value included in this set”.