JS is rightly criticized as a language, for lending itself to... less than ideal practices. Which is largely a result of it NOT being designed as a programming language. It was designed as a dead-simple scripting language for getting the most minimal of bells-and-whistles kinda things in the browser. So, it's worth noting that you might have to un-learn some bad habits someday, as you progress to other languages, or even just higher-level stuff in JS.
However, it's still an excellent choice as a starter language, on account of how dead-simple it was designed to be. And how dead-simple it is to start DOING things with it. And how is possibly the most-used language there is, ubiquitous in web development. And how MASSIVE the community around it is, and how many learning resources there are.
So yeah, go for it. GL;HF.