I had to learn JavaScript for a cryptography project; I’ve been a developer since 1988 and had never used it for more than small edits to existing scripts.
Its popularity is entirely outside my comprehension. It’s a freaking mess of dialects and versions and the lack of typing makes it feel like a toy. I would be miserable writing in it.