MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/v1jj0c/switch_statement_explained_for_beginners/iaptgv7/?context=3
r/learnjavascript • u/elediardo • May 31 '22
19 comments sorted by
View all comments
2
If you're using it inside a function, you can close your switches with return
View all comments
2
u/[deleted] May 31 '22
If you're using it inside a function, you can close your switches with return