Oh yes, as a first language it is very suitable. But you need to understand that if you start learning OOP or something like C ++ with it, these are parallels, different concepts, and so on. No OOP fundamentals, few programming paradigms, no typing. There are classes and class inheritance, but it is very different from the usual implementation in the C ++ / C # / Java programming languages.
This language is very simple, but rich in functionality, there is access to more complex levels if you delve into its capabilities. But for people looking to write web applications and in particular, to deal with Front-End, there aren't a lot of options today.