JS variable declaration can be done via the let, const or var keywords, but you should not use var as it does hoisting up scopes (i.e. outside your current lexical environment)
âŠ
(this Fireship video is so good because Fireship seems to have a JS/Node/Deno/web and app dev bias as seen on fireship.io/courses)
Mozilla Developer Network provides excellent documentation for JavaScript as itâs used in browsers. Plus, itâs a wiki, so as you learn more you can help others out by sharing your own knowledge
MDNâs A re-introduction to JavaScript covers much of the concepts covered here in more detail. This guide has quite deliberately only covered the JavaScript language itself; if you want to learn more about how to use JavaScript in web pages, start by learning about the Document Object Model
JavaScript Garden is an in-depth guide of all the counter-intuitive parts of the language.
Eloquent JavaScript by Marijn Haverbeke is an excellent JS book/ebook with attached terminal
JavaScript: The Right Way is a guide intended to introduce new developers to JavaScript and help experienced developers learn more about its best practices.
javascript.info is a modern JavaScript tutorial covering the basics (core language and working with a browser) as well as advanced topics with concise explanations
checked on 24th December 2024 and notice indicates page was âLast updated on December 23, 2024â
In addition to direct contributors to this article, some content is adapted from Louie Dinhâs Python tutorial on this site, and the JS Tutorial on the Mozilla Developer Network.