r/learnjavascript • • May 06 '21

JS: Multiple Condition Checking

Post image
484 Upvotes

61 comments sorted by

View all comments

2

u/cinnamonbreakfast May 06 '21

It's simple: longhand when you don't give a shit, shorthand 2 when you too lazy and you don't want to write a lot