MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1v5hwu7/javascript_without_braces/ozjk7cs/?context=3
r/programminghorror • u/my_new_accoun1 • Jul 24 '26
(technically typescript)
12 comments sorted by
View all comments
Show parent comment
4
yeah but there only problem (as I later realised) is that without the braces JavaScript doesn't know where the elseif/else is supposed to be
so I ended up not being able to use this masterpiece
View all comments
Show parent comment
4
u/my_new_accoun1 Jul 24 '26
yeah but there only problem (as I later realised) is that without the braces JavaScript doesn't know where the elseif/else is supposed to be
so I ended up not being able to use this masterpiece