Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JavaScript Index

Use this topic index to locate the lesson for a JavaScript concept, API, or programming task. Search phrases include standard terminology and common learner wording. For definitions, see the JavaScript glossary.

Runtime, project setup, and accessibility

Topic and learner search termsLesson
Install Node.js LTS; runtime; node --version; npm; version verificationUnit 0: Node.js installation
Node.js versus browser JavaScript; ECMAScript; host environment; runtime APIsUnit 0: JavaScript runtime
VS Code; Theia IDE; editor; workspace; terminal; keyboard shortcutsUnit 0: Editor setup
Screen reader; keyboard navigation; accessible editor workflowUnit 0: Development environment
.js file; node app.js; first program; Hello World; REPLUnit 0: First JavaScript file
let; const; variables; reassignment; block scopeUnit 1: Variables
console.log(); output; template literal; backticks; interpolationUnit 1: Output

Values, numbers, input, and control flow

Topic and learner search termsLesson
Primitive types; string; number; boolean; null; undefined; typeofUnit 1: Data types
Arithmetic operators; Math; NaN; numeric calculationsUnit 2: Numbers and Math
readline; standard input; terminal prompts; asynchronous inputUnit 2: Node.js input
Number conversion; Number(); String(); coercion; validationUnit 2: Input conversion
Comparison operators; Boolean expressions; &&; `
if; else if; else; nested conditions; branchingUnit 3: Conditional statements
Strict equality ===; loose equality ==; truthy; falsyUnit 3: Comparisons and truthiness
Ternary operator; switch; multi-branch decisionsUnit 3: Alternative branching
for; while; break; continue; forEach()Unit 3: Loops

Arrays, objects, strings, and functions

Topic and learner search termsLesson
Array; indexes; length; push(); pop(); array mutationUnit 4: Arrays
map(); filter(); forEach(); functional array methodsUnit 4: Array methods
Object literal; properties; keys; values; nested objects and arraysUnit 4: Objects
Object iteration; destructuring; spread syntax; rest syntax; shallow copyUnit 4: Object operations
String methods; template strings; string processing; regular expressions; RegExpUnit 5: Strings
Function declaration; function expression; arrow function; returnUnit 6: Defining functions
Parameters; arguments; default parameters; rest parameters; callbacksUnit 6: Function parameters
Scope; lexical scope; closure; function passed to another functionUnit 6: Closures

Classes, files, asynchronous operations, and errors

Topic and learner search termsLesson
Class; instance; object; constructor; this; methodsUnit 7: Classes
Private class fields; #field; static methods; encapsulationUnit 7: Class features
extends; super; inheritance; subclass; overridingUnit 7: Inheritance
Node fs; file system; read file; write file; file pathsUnit 8: File I/O
Asynchronous file operations; Promise; async; awaitUnit 8: Asynchronous file I/O
try; catch; finally; throw; custom Error classUnit 8: Error handling
JSON; JSON.parse(); JSON.stringify(); serializationUnit 8: JSON

Modules, collections, testing, and projects

Topic and learner search termsLesson
ES modules; import; export; type: module; module resolutionUnit 9: ES modules
CommonJS; require(); module.exports; type: commonjsUnit 9: CommonJS
package.json; package type; dependencies; npm scripts; project-local toolsUnit 9: Node project configuration
Map; key-value collection; arbitrary key types; Set; unique valuesUnit 9: Maps and sets
Word frequency; text processing; CSV; data parsingUnit 9: Data projects
Jest; test suite; test case; matcher; assertion; test setupUnit 9: Testing with Jest
Text adventure; command-line to-do manager; requirements; capstone; accessibilityUnits 10–11: Projects

JavaScript curriculum · Book overview · Programming glossary