How JavaScript runs
Key points
- JavaScript runs in every browser’s engine, and on servers with Node.js.
- The console (F12) is the quickest place to experiment.
- Load scripts at the end of the body or with defer.
- Read error messages: they tell you the problem and the line.