JavaScript

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

  • 14 modules
  • 90 lessons
  • 0 projects

See the roadmap

  1. Module 1

    Introduction

    1. 1.1What is JavaScriptSoon
    2. 1.2History of JavaScriptOptionalSoon
    3. 1.3JavaScript versionsMust knowSoon
    4. 1.4How to run JavaScriptSoon
  2. Module 2

    Variables

    1. 2.1Declarations: var, let and constSoon
    2. 2.2Naming rulesSoon
    3. 2.3Scopes: block, function and globalSoon
    4. 2.4Hoisting and the temporal dead zoneMust knowSoon
  3. Module 3

    Data types

    1. 3.1Primitive typesSoon
    2. 3.2SymbolOptionalSoon
    3. 3.3BigIntOptionalSoon
    4. 3.4ObjectsSoon
    5. 3.5The typeof operatorSoon
    6. 3.6Truthy and falsySoon
    7. 3.7Values and referencesSoon
    8. 3.8Type casting: implicit and explicitSoon
    9. 3.9Equality: ==, === and Object.isSoon
    10. 3.10Equality algorithmsOptionalSoon
  4. Module 4

    Text, numbers and dates

    1. 4.1Strings and template literalsSoon
    2. 4.2Numbers and MathSoon
    3. 4.3Regular expressionsMust knowSoon
    4. 4.4Dates and times
      • TemporalSoon
      • DateSoon
  5. Module 5

    Data structures

    1. 5.1ArraysSoon
    2. 5.2Array methodsSoon
    3. 5.3DestructuringSoon
    4. 5.4Spread and rest syntaxSoon
    5. 5.5Working with objectsMust knowSoon
    6. 5.6Typed arraysOptionalSoon
    7. 5.7Map and SetSoon
    8. 5.8WeakMap and WeakSetOptionalSoon
    9. 5.9JSONSoon
    10. 5.10Built-in objectsMust knowSoon
  6. Module 6

    Expressions and control flow

    1. 6.1OperatorsSoon
    2. 6.2Optional chaining and nullish coalescingSoon
    3. 6.3Logical assignmentOptionalSoon
    4. 6.4Bitwise operatorsOptionalSoon
    5. 6.5Conditionals: if...else and switchSoon
    6. 6.6Loops and iterationSoon
    7. 6.7Exceptions: throw, try/catch/finallySoon
    8. 6.8Error objectsMust knowSoon
  7. Module 7

    Functions

    1. 7.1Declaring and calling functionsSoon
    2. 7.2Parameters: default and restSoon
    3. 7.3Arrow functionsSoon
    4. 7.4Higher-order functionsSoon
    5. 7.5Lexical scopingSoon
    6. 7.6ClosuresSoon
    7. 7.7Scope and the call stackMust knowSoon
    8. 7.8RecursionMust knowSoon
    9. 7.9IIFEOptionalSoon
    10. 7.10The arguments objectOptionalSoon
  8. Module 8

    Objects, this and classes

    1. 8.1Strict modeMust knowSoon
    2. 8.2The this keywordSoon
    3. 8.3Explicit binding: call, apply and bindSoon
    4. 8.4Function borrowingOptionalSoon
    5. 8.5Prototypes and inheritanceSoon
    6. 8.6ClassesSoon
    7. 8.7Class fields: private and staticMust knowSoon
    8. 8.8Getters and settersMust knowSoon
    9. 8.9Iterators and generatorsMust knowSoon
    10. 8.10Proxy and ReflectOptionalSoon
  9. Module 9

    Asynchronous JavaScript

    1. 9.1Event loopSoon
    2. 9.2Microtasks and the task queueMust knowSoon
    3. 9.3Timers: setTimeout and setIntervalSoon
    4. 9.4CallbacksSoon
    5. 9.5Callback hellMust knowSoon
    6. 9.6PromisesSoon
    7. 9.7async/awaitSoon
    8. 9.8Promise combinatorsMust knowSoon
    9. 9.9Working with APIs
      • FetchSoon
      • XMLHttpRequestSoon
    10. 9.10Cancelling with AbortControllerMust knowSoon
    11. 9.11Async iterationOptionalSoon
  10. Module 10

    Modules and packages

    1. 10.1Modules
      • ES ModulesSoon
      • CommonJSSoon
    2. 10.2Dynamic import()Must knowSoon
    3. 10.3Top-level awaitOptionalSoon
    4. 10.4Packages and npmSoon
  11. Module 11

    In the browser

    1. 11.1DOM APIsSoon
    2. 11.2Events and delegationSoon
    3. 11.3Browser DevToolsSoon
    4. 11.4Security: XSS and innerHTMLMust knowSoon
    5. 11.5Web StorageOptionalSoon
    6. 11.6Web WorkersOptionalSoon
  12. Module 12

    Tooling and testing

    1. 12.1Linting and formattingMust knowSoon
    2. 12.2Testing
      • VitestSoon
      • JestSoon
      • node:testSoon
  13. Module 13

    Memory and debugging

    1. 13.1Memory lifecycleSoon
    2. 13.2Garbage collectionSoon
    3. 13.3Debugging issuesSoon
    4. 13.4Debugging memory leaksMust knowSoon
    5. 13.5WeakRef and FinalizationRegistryOptionalSoon
    6. 13.6Debugging performanceMust knowSoon
  14. Module 14

    Keep going

    1. 14.1Where to go next
      • TypeScriptSoon
      • Node.js
      • FrontendSoon
      • ReactSoon