It feels like anything is mowed down on the internet. I’ve been a dev for a long time too, and I never feel sure when I chose a stack for a new toy project (in my day job I rarely get to chose, so that’s a non issue there)
Bourne shell is orders of magnitude worse clusterf*ck than JavaScript, yet it’s rarely criticized.
Both have their place. Bourne shell scripts are great as a container for connecting the various tools you have around - and for that kind of relatively simple script is way easier to use than something like Powershell. If you use it for something more complex you’re probably an idiot.
Same with Javascript - if you need to annoy someone with popups on a website, or have something dance around in the window it’s a great language. If you use it for something else you’re probably also an idiot.