Free course · 28 lessons

Inside JavaScript

How JavaScript really runs your code, from the execution context to promises, async/await and this. Every lesson has its video, the code, the whiteboards, what to say in an interview, and a quiz.

4 videos outA new lesson every day at 11 am
Your progress0 of 28 done · saved on this device
  1. 1How JavaScript Runs Your CodeHow JavaScript Runs Your Code: Execution ContextVideo
  2. 2Two Passes and the Call StackTwo Passes and the Call Stack: How Your Code Really ExecutesVideo
  3. 3HoistingHoisting: Why You Can Use Things Before You Write ThemVideo
  4. 4Every Call Gets Its Own BoxEvery Function Call Gets Its Own Box: Variable EnvironmentVideo
  5. 5The Shortest JavaScript ProgramThe Shortest JavaScript Program: window and thisVideo soon
  6. 6undefined vs not definedundefined vs not definedVideo soon
  7. 7Scope and the Scope ChainScope, the Scope Chain and Lexical EnvironmentVideo soon
  8. 8let, const and the TDZlet, const and the Temporal Dead ZoneVideo soon
  9. 9Block Scope and ShadowingBlock Scope and ShadowingVideo soon
  10. 10ClosuresClosures, Line by LineVideo soon
  11. 11setTimeout + ClosuressetTimeout in a Loop: The Classic Closure Interview QuestionVideo soon
  12. 12A Full Closure InterviewA Full Closure Interview, Question by QuestionVideo soon
  13. 13Functions Are ValuesFunctions Are Values: Statements, Expressions and First-Class FunctionsVideo soon
  14. 14Callbacks and Event ListenersCallbacks and Event ListenersVideo soon
  15. 15The Event LoopThe Event Loop, From ScratchVideo soon
  16. 16Inside the V8 EngineInside the Engine: How V8 Runs Your JavaScriptVideo soon
  17. 17Why setTimeout Is Never On TimeWhy setTimeout Is Never On TimeVideo soon
  18. 18Higher-Order FunctionsHigher-Order FunctionsVideo soon
  19. 19map, filter and reducemap, filter and reduceVideo soon
  20. 20Callback HellCallback Hell and Inversion of ControlVideo soon
  21. 21PromisesPromises: What They Really AreVideo soon
  22. 22Make Your Own PromiseMake Your Own Promise: Chaining and Error HandlingVideo soon
  23. 23async/await Part 1async/await Part 1: What await Really PausesVideo soon
  24. 24async/await Part 2async/await Part 2: Real Fetch Calls, Errors and async vs .thenVideo soon
  25. 25Promise APIs Part 1Promise APIs Part 1: Promise.all and Promise.allSettledVideo soon
  26. 26Promise APIs Part 2Promise APIs Part 2: Promise.race, Promise.any and Interview QuestionsVideo soon
  27. 27The this Keyword Part 1The this Keyword Part 1: Global Scope, Functions and Strict ModeVideo soon
  28. 28The this Keyword Part 2The this Keyword Part 2: Methods, call/apply/bind, Arrow Functions and the DOMVideo soon

New lessons go up on our YouTube channel every day at 11 am.