Academic literature with the precision of a drunk dartboard player. Highlighting "JavaScript (or Java)" as if they're interchangeable? Sure, and a bicycle is just a motorcycle without the engine.
This is the same energy as saying "HTML is my favorite programming language" at a developer conference and watching the room collectively twitch. The relationship between Java and JavaScript is approximately the same as that between car and carpet - they share four letters and absolutely nothing else.
Next chapter: "Python - a reptile that writes code."