Learn the fundamentals of JavaScript, the programming language of the web
Loading
Parsing
Compilation
Execution
defer
attribute tells the browser to continue parsing the HTML while the script is being downloaded, and to execute the script only after the HTML parsing is complete. This improves page load performance.const
by default, and let
when you need to reassign variables. Avoid var
.'use strict';
) to catch common coding mistakes.