JavaScript

The language of the web, from your first variable to the event loop, memory and debugging.

14 stages90 topics

Legend

  • RequiredRequiredThe core path, follow it in order
  • Must knowMust knowYou should know it
  • RecommendedRecommendedOur pick: useful and worth your time
  • Worth a lookWorth a lookNot a priority: learn it when you can
  • OptionalOptionalAn alternative: you can skip it
  1. Introduction

    • RequiredWhat is JavaScriptSoon
    • OptionalHistory of JavaScriptSoon
    • Must knowJavaScript versionsSoon
    • RequiredHow to run JavaScriptSoon
  2. Variables

    • RequiredDeclarations: var, let and constSoon
    • RequiredNaming rulesSoon
    • RequiredScopes: block, function and globalSoon
    • Must knowHoisting and the temporal dead zoneSoon
  3. Data types

    • RequiredPrimitive typesSoon
    • OptionalSymbolSoon
    • OptionalMinimum versionES2020BigIntSoon
    • RequiredObjectsSoon
    • RequiredThe typeof operatorSoon
    • RequiredTruthy and falsySoon
    • RequiredValues and referencesSoon
    • RequiredType casting: implicit and explicitSoon
    • RequiredEquality: ==, === and Object.isSoon
    • OptionalEquality algorithmsSoon
  4. Text, numbers and dates

    • RequiredStrings and template literalsSoon
    • RequiredNumbers and MathSoon
    • Must knowRegular expressionsSoon
    • Required
      • TemporalRecommended
      • DateOptional

      Dates and times

      Pick one path

      • TemporalRecommendedSoon
      • DateOptionalSoon
  5. Data structures

    • RequiredArraysSoon
    • RequiredArray methodsSoon
    • RequiredDestructuringSoon
    • RequiredSpread and rest syntaxSoon
    • Must knowWorking with objectsSoon
    • OptionalTyped arraysSoon
    • RequiredMap and SetSoon
    • OptionalWeakMap and WeakSetSoon
    • RequiredJSONSoon
    • Must knowBuilt-in objectsSoon
  6. Expressions and control flow

    • RequiredOperatorsSoon
    • RequiredMinimum versionES2020Optional chaining and nullish coalescingSoon
    • OptionalMinimum versionES2021Logical assignmentSoon
    • OptionalBitwise operatorsSoon
    • RequiredConditionals: if...else and switchSoon
    • RequiredLoops and iterationSoon
    • RequiredExceptions: throw, try/catch/finallySoon
    • Must knowError objectsSoon
  7. Functions

    • RequiredDeclaring and calling functionsSoon
    • RequiredParameters: default and restSoon
    • RequiredArrow functionsSoon
    • RequiredHigher-order functionsSoon
    • RequiredLexical scopingSoon
    • RequiredClosuresSoon
    • Must knowScope and the call stackSoon
    • Must knowRecursionSoon
    • OptionalIIFESoon
    • OptionalThe arguments objectSoon
  8. Objects, this and classes

    • Must knowStrict modeSoon
    • RequiredThe this keywordSoon
    • RequiredExplicit binding: call, apply and bindSoon
    • OptionalFunction borrowingSoon
    • RequiredPrototypes and inheritanceSoon
    • RequiredClassesSoon
    • Must knowMinimum versionES2022Class fields: private and staticSoon
    • Must knowGetters and settersSoon
    • Must knowIterators and generatorsSoon
    • OptionalProxy and ReflectSoon
  9. Asynchronous JavaScript

    • RequiredEvent loopSoon
    • Must knowMicrotasks and the task queueSoon
    • RequiredTimers: setTimeout and setIntervalSoon
    • RequiredCallbacksSoon
    • Must knowCallback hellSoon
    • RequiredPromisesSoon
    • RequiredMinimum versionES2017async/awaitSoon
    • Must knowPromise combinatorsSoon
    • Required
      • FetchRecommended
      • XMLHttpRequestOptional

      Working with APIs

      Pick one path

      • FetchRecommendedSoon
      • XMLHttpRequestOptionalSoon
    • Must knowCancelling with AbortControllerSoon
    • OptionalMinimum versionES2018Async iterationSoon
  10. Modules and packages

    • Required
      • ES ModulesRecommended
      • CommonJSOptional

      Modules

      Pick one path

      • ES ModulesRecommendedSoon
      • CommonJSOptionalSoon
    • Must knowMinimum versionES2020Dynamic import()Soon
    • OptionalMinimum versionES2022Top-level awaitSoon
    • RequiredPackages and npmSoon
  11. In the browser

    • RequiredDOM APIsSoon
    • RequiredEvents and delegationSoon
    • RequiredBrowser DevToolsSoon
    • Must knowSecurity: XSS and innerHTMLSoon
    • OptionalWeb StorageSoon
    • OptionalWeb WorkersSoon
  12. Tooling and testing

    • Must knowLinting and formattingSoon
    • Required
      • VitestRecommended
      • JestOptional
      • node:testOptional

      Testing

      Pick one path

      • VitestRecommendedSoon
      • JestOptionalSoon
      • node:testOptionalSoon
  13. Memory and debugging

    • RequiredMemory lifecycleSoon
    • RequiredGarbage collectionSoon
    • RequiredDebugging issuesSoon
    • Must knowDebugging memory leaksSoon
    • OptionalMinimum versionES2021WeakRef and FinalizationRegistrySoon
    • Must knowDebugging performanceSoon
  14. Keep going

    • Required

      Where to go next

      Pick one path