I disagree - when you start out, just seeing something happening is exciting - with JS, a tiny bit of CSS and HTML, you can have a real website deployed that does something in a few days of learning.
Any other language, you'll be stuck in the terminal/figuring out how to install things for days (as a beginner). For a website, you just need a `html` file with a <script> tag!
When learning new things, quick wins and feeling progress is really important, so I always recommend the easiest tool to get started with, not necessarily the one with the best model or fundamentals.
Most languages can be installed with `apt get` or `brew install` nowadays. You may not get the latest versions but it's not like the old days where you have to download and compile from source and then update your PATHs anymore. I think Ubuntu comes preinstalled with python too.
While it's true that you can get started quickly with a <script>, I think you'll encounter inexplicable walls much quicker than other languages.
If you limit yourself to WebAPIs, you'll have a even smaller toolset than node. Not to mention most tutorials are assuming you are executing in node and not a browser e.g. file system access which was only recently available in Chrome and not implemented in Firefox. You also can't interact with most of the web due to CORS (such a common problem that it's pretty much a rite of passage for any JS developer now).
Any other language, you'll be stuck in the terminal/figuring out how to install things for days (as a beginner). For a website, you just need a `html` file with a <script> tag!
When learning new things, quick wins and feeling progress is really important, so I always recommend the easiest tool to get started with, not necessarily the one with the best model or fundamentals.