JavaScript: The Easy Way
The easiest way to learn JavaScript is to learn TypeScript.
That single decision will save you and those around you a lot of pain and suffering (approx. 15% if you want to get technical). You still need to know JavaScript because that’s the dialect the best books are written in.
Required reading is JavaScript the Good Parts.
With less than 176 pages of content The Good Parts effectively illustrates how little [good] there is to the language. Things go spectacularly wrong in JavaScript when you’re trying too hard.
For similar reasons the path of least resistance to server-side JavaScript is Node.js the Right Way.
The Short Story
Unlike most popular languages of today (e.g. Java or Python) JavaScript wasn’t born of intelligent design. The language came into being opportunistically and went through a messy and sometimes violent evolution during the Browser Wars.
When mobile phones became ubiquitous and mobile browsing became universal JavaScript without trying beat Java to the Promised Land (hehehe…Promise) of “Write once, run anywhere.”
The idea of JavaScript on the server has been around since the very beginning; it simply took Google (i.e. V8) to make it go Zoom zoom! (same with TypeScript, coincidentally).
The Easy Way
Yes, you came here for JavaScript and I’m teaching TypeScript. Head on over to LEAN Stack and get started.