There might be a lot to say about JavaScript (love it or hate it) but there’s a lot of it about and it might be worth knowing more. Some resources and thoughts…
Notably, JavaScript was invented and built in a hurry - in a week and a half - and named at a late stage, in an effort to make a connection to Java. (A connection which is purely marketing.)
It has some very odd oddities, if you go looking for them. It has been described as Lisp in C clothing which might actually be positive and helpful.
I’ve read, and recommend, but don’t remember, Crockford’s book JavaScript: The Good Parts which is a nicely thin volume:
(Image from JavaScript is Eating the World)
I like JavaScript in part because I’ve had a hand in a couple of websites which couldn’t do without it, and it seemed fairly easy to pick up the basics. Notably, those websites just used JavaScript as-is, maybe one or two built-in libraries, but no enormous collection of dependencies and no frameworks. I’m sure it’s a much bigger task to learn how to use that ecosystem well. My preference would be to start small, and expand outwards from there.
Three recommended places to learn and explore JavaScript:
I’ve helped curate a big list of in-browser emulators which all build on JavaScript as a programming language, ranging from simple and direct to compiled from C. Maybe reading some of the sources will be helpful.
Previous threads: Resources to start with web pages (HTML and so on) and Resources to start programming (coding)