This repository is for reading and learning JavaScript, if you're a total beginner or a pro coming from another language. You can use this repo as a reference and checklist as you cover the JavaScript language. To understand each piece of the language you will collect clear examples, study them carefully, and organize your analyses into your own personal JavaScript language reference.
Feel free to pull these examples from anywhere you like. They can be code you wrote, exercises from somewhere like FreeCodeCamp, gists you collected, or examples from one of the resources below. What's most important is that you do as many of these as you can!
(this table of contents is just a starter, feel free to modify it and expand it as your understanding of JS grows)
Include links to your favorite JS tutorials and references. We've started you off with a few.
- PythonTutor (for JavaScript)
- JavaScript.info - outstanding reference/tutorial. beginner to advanced
- Practical JavaScript (Shawnr) - very clear examples with quizzes. beginner
- MDN Introduction - great selection of examples to run
- Lodash
- Great Gists
- JS by Examples - quality examples & explanations, ideal for PyTutor
- JS: Definitive Edition code - advanced examples, minimal explanation
- You Don't Know JS - good reference if you have programmed in another language
- w3schools - goto reference with great examples
- Callbacks
- WTFJS
In JavaScript, variables act as pointers. They point to something (primitives, objects, funcitons, ...) in memory so you can get back to it later. One variables can point to any type of data and can be changed to point to anything else at any time.
Examples:
Variables Resources: