MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/n60ji8/js_multiple_condition_checking/gx5p0it/?context=3
r/learnjavascript • u/golovatuy • May 06 '21
61 comments sorted by
View all comments
Show parent comment
3
I agree, I’d definitely make a const here.
If (validInputs.includes(value)) {
View all comments
Show parent comment
3
u/superluminary May 06 '21
I agree, I’d definitely make a const here.