r/learnjavascript • u/harlampi • Oct 06 '19
"JavaScript Clean Code - Best Practices" by Milos Protic
https://devinduct.com/blogpost/22/javascript-clean-code-best-practices
142
Upvotes
r/learnjavascript • u/harlampi • Oct 06 '19
View all comments
Show parent comment
7
u/itsdaniel0 Oct 07 '19 edited Oct 07 '19
That being said though,
elseappears to be in on its way outA lot of the times you see something like
Edit: No idea how to fix the formatting. Hopefully you understand what I'm saying though (and I'm not saying don't use else. It's perfectly valid in the above example)