Honestly the meme of 'JavaScript bad' is so tired and outdated it's ridiculous. It made sense 14 years ago before invention of Typescript and ES5/6+, but these days it basically just shows ignorance or the blind regurgitation of a decade old meme.
Typescript is hands down the most pleasant language to work in, followed closely by the more modern compiled ones like Go, Swift, C#, and miles ahead of widely used legacy ones like Java, and PHP etc. and the white space, untyped, nightmare that is python.
I'm like 99% sure that it's just because JavaScript / Typescript is so common that for anyone who doesn't start with it, it's the second language they learn, and at that point they're just whiny and butthurt about learning a new language.