Things that every JavaScript developer should know
summary
Covers concrete gotchas and fixes: hoisting and var vs let with the setTimeout loop that prints 3 3 3 instead of 0 1 2, how closures capture outer variables, and why arrow functions don’t bind this. Demos ES6 features: symbols and key-based dictionaries, classes/getters/setters that enforce rules, prototype inheritance, new Array(length) oddities, truthy/falsy vs ==/=== pitfalls, brief jQuery/console examples and a note that garbage collection handles memory.
AI-written summary · about
chapters (26)
- 0:00Intro
- 1:37JSON
- 3:23Data Types
- 4:58Symbol
- 9:01Functions
- 12:29Programming is like golf
- 15:23Closures
- 16:27Side Effects
- 17:46If Block
- 18:11Function Declaration
- 24:07Closures Scope
- 24:36Global
- 27:11Closure
- 29:45Inheritance
- 31:09Classes
- 32:35Properties
- 33:32Discount
- 35:27Arrays
- 37:20Operators
- 38:28Strict comparisons
- 39:43Equality
- 39:56This thing
- 41:27This is legit code
- 42:02Optional Arguments
- 42:57Window Arguments
- 43:18Garbage Collection








