Sorry but tired old JS "gotchas" that no developer worth a damn would ever use, is not a valid reason to shit on Jacascript. Every language has stupid footguns.
There are a lot of junior developers across the world in different economic situations who might. To think otherwise is just arrogance. Think students, freshers, job-seekers switching industries.
In other words, if your programming language makes it easy for you to shoot yourself in the foot, then it isn't a good programming language to begin with.