JavaScript
The language of the web, from your first variable to the event loop, memory and debugging.
Module 1
Introduction
- 1.1What is JavaScriptSoon
- 1.2History of JavaScriptOptionalSoon
- 1.3JavaScript versionsMust knowSoon
- 1.4How to run JavaScriptSoon
Module 2
Variables
- 2.1Declarations: var, let and constSoon
- 2.2Naming rulesSoon
- 2.3Scopes: block, function and globalSoon
- 2.4Hoisting and the temporal dead zoneMust knowSoon
Module 3
Data types
- 3.1Primitive typesSoon
- 3.2SymbolOptionalSoon
- 3.3BigIntOptionalSoon
- 3.4ObjectsSoon
- 3.5The typeof operatorSoon
- 3.6Truthy and falsySoon
- 3.7Values and referencesSoon
- 3.8Type casting: implicit and explicitSoon
- 3.9Equality: ==, === and Object.isSoon
- 3.10Equality algorithmsOptionalSoon
Module 4
Text, numbers and dates
- 4.1Strings and template literalsSoon
- 4.2Numbers and MathSoon
- 4.3Regular expressionsMust knowSoon
- 4.4Dates and times
Module 5
Data structures
- 5.1ArraysSoon
- 5.2Array methodsSoon
- 5.3DestructuringSoon
- 5.4Spread and rest syntaxSoon
- 5.5Working with objectsMust knowSoon
- 5.6Typed arraysOptionalSoon
- 5.7Map and SetSoon
- 5.8WeakMap and WeakSetOptionalSoon
- 5.9JSONSoon
- 5.10Built-in objectsMust knowSoon
Module 6
Expressions and control flow
- 6.1OperatorsSoon
- 6.2Optional chaining and nullish coalescingSoon
- 6.3Logical assignmentOptionalSoon
- 6.4Bitwise operatorsOptionalSoon
- 6.5Conditionals: if...else and switchSoon
- 6.6Loops and iterationSoon
- 6.7Exceptions: throw, try/catch/finallySoon
- 6.8Error objectsMust knowSoon
Module 7
Functions
- 7.1Declaring and calling functionsSoon
- 7.2Parameters: default and restSoon
- 7.3Arrow functionsSoon
- 7.4Higher-order functionsSoon
- 7.5Lexical scopingSoon
- 7.6ClosuresSoon
- 7.7Scope and the call stackMust knowSoon
- 7.8RecursionMust knowSoon
- 7.9IIFEOptionalSoon
- 7.10The arguments objectOptionalSoon
Module 8
Objects, this and classes
- 8.1Strict modeMust knowSoon
- 8.2The this keywordSoon
- 8.3Explicit binding: call, apply and bindSoon
- 8.4Function borrowingOptionalSoon
- 8.5Prototypes and inheritanceSoon
- 8.6ClassesSoon
- 8.7Class fields: private and staticMust knowSoon
- 8.8Getters and settersMust knowSoon
- 8.9Iterators and generatorsMust knowSoon
- 8.10Proxy and ReflectOptionalSoon
Module 9
Asynchronous JavaScript
- 9.1Event loopSoon
- 9.2Microtasks and the task queueMust knowSoon
- 9.3Timers: setTimeout and setIntervalSoon
- 9.4CallbacksSoon
- 9.5Callback hellMust knowSoon
- 9.6PromisesSoon
- 9.7async/awaitSoon
- 9.8Promise combinatorsMust knowSoon
- 9.9Working with APIs
- 9.10Cancelling with AbortControllerMust knowSoon
- 9.11Async iterationOptionalSoon
Module 10
Modules and packages
- 10.1Modules
- 10.2Dynamic import()Must knowSoon
- 10.3Top-level awaitOptionalSoon
- 10.4Packages and npmSoon
Module 11
In the browser
- 11.1DOM APIsSoon
- 11.2Events and delegationSoon
- 11.3Browser DevToolsSoon
- 11.4Security: XSS and innerHTMLMust knowSoon
- 11.5Web StorageOptionalSoon
- 11.6Web WorkersOptionalSoon
Module 12
Tooling and testing
- 12.1Linting and formattingMust knowSoon
- 12.2Testing
Module 13
Memory and debugging
- 13.1Memory lifecycleSoon
- 13.2Garbage collectionSoon
- 13.3Debugging issuesSoon
- 13.4Debugging memory leaksMust knowSoon
- 13.5WeakRef and FinalizationRegistryOptionalSoon
- 13.6Debugging performanceMust knowSoon
Module 14
Keep going
- 14.1Where to go next