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 terms | Lesson |
|---|---|
Install Node.js LTS; runtime; node --version; npm; version verification | Unit 0: Node.js installation |
| Node.js versus browser JavaScript; ECMAScript; host environment; runtime APIs | Unit 0: JavaScript runtime |
| VS Code; Theia IDE; editor; workspace; terminal; keyboard shortcuts | Unit 0: Editor setup |
| Screen reader; keyboard navigation; accessible editor workflow | Unit 0: Development environment |
.js file; node app.js; first program; Hello World; REPL | Unit 0: First JavaScript file |
let; const; variables; reassignment; block scope | Unit 1: Variables |
console.log(); output; template literal; backticks; interpolation | Unit 1: Output |
Values, numbers, input, and control flow
| Topic and learner search terms | Lesson |
|---|---|
Primitive types; string; number; boolean; null; undefined; typeof | Unit 1: Data types |
Arithmetic operators; Math; NaN; numeric calculations | Unit 2: Numbers and Math |
readline; standard input; terminal prompts; asynchronous input | Unit 2: Node.js input |
Number conversion; Number(); String(); coercion; validation | Unit 2: Input conversion |
Comparison operators; Boolean expressions; &&; ` | |
if; else if; else; nested conditions; branching | Unit 3: Conditional statements |
Strict equality ===; loose equality ==; truthy; falsy | Unit 3: Comparisons and truthiness |
Ternary operator; switch; multi-branch decisions | Unit 3: Alternative branching |
for; while; break; continue; forEach() | Unit 3: Loops |
Arrays, objects, strings, and functions
| Topic and learner search terms | Lesson |
|---|---|
Array; indexes; length; push(); pop(); array mutation | Unit 4: Arrays |
map(); filter(); forEach(); functional array methods | Unit 4: Array methods |
| Object literal; properties; keys; values; nested objects and arrays | Unit 4: Objects |
| Object iteration; destructuring; spread syntax; rest syntax; shallow copy | Unit 4: Object operations |
| String methods; template strings; string processing; regular expressions; RegExp | Unit 5: Strings |
Function declaration; function expression; arrow function; return | Unit 6: Defining functions |
| Parameters; arguments; default parameters; rest parameters; callbacks | Unit 6: Function parameters |
| Scope; lexical scope; closure; function passed to another function | Unit 6: Closures |
Classes, files, asynchronous operations, and errors
| Topic and learner search terms | Lesson |
|---|---|
Class; instance; object; constructor; this; methods | Unit 7: Classes |
Private class fields; #field; static methods; encapsulation | Unit 7: Class features |
extends; super; inheritance; subclass; overriding | Unit 7: Inheritance |
Node fs; file system; read file; write file; file paths | Unit 8: File I/O |
Asynchronous file operations; Promise; async; await | Unit 8: Asynchronous file I/O |
try; catch; finally; throw; custom Error class | Unit 8: Error handling |
JSON; JSON.parse(); JSON.stringify(); serialization | Unit 8: JSON |
Modules, collections, testing, and projects
| Topic and learner search terms | Lesson |
|---|---|
ES modules; import; export; type: module; module resolution | Unit 9: ES modules |
CommonJS; require(); module.exports; type: commonjs | Unit 9: CommonJS |
package.json; package type; dependencies; npm scripts; project-local tools | Unit 9: Node project configuration |
Map; key-value collection; arbitrary key types; Set; unique values | Unit 9: Maps and sets |
| Word frequency; text processing; CSV; data parsing | Unit 9: Data projects |
| Jest; test suite; test case; matcher; assertion; test setup | Unit 9: Testing with Jest |
| Text adventure; command-line to-do manager; requirements; capstone; accessibility | Units 10–11: Projects |
JavaScript curriculum · Book overview · Programming glossary