Skip to main content

Module 03 — JavaScript ES2024+

Why This Module Matters

JavaScript is the only language that runs natively in the browser. Everything else (TypeScript, React, Next.js) compiles down to JavaScript. Understanding JS deeply makes you a far better developer with any framework.

What's Changed Since the Bootcamp Was Written

OldModern (ES2020+)
varconst / let
function foo() {}Arrow functions
CallbacksPromises → async/await
require() CommonJSES Modules (import/export)
for...in on arraysfor...of, .forEach, .map
String concatenationTemplate literals
arguments objectRest parameters
Manual object copySpread operator
Object.assignDestructuring
XMLHttpRequestfetch / async/await

Learning Objectives

By the end of this module you can:

  • Declare variables correctly with const and let
  • Write clean functions using arrow syntax and default parameters
  • Use destructuring, spread, and rest in real code
  • Understand closures and how the call stack works
  • Write and consume Promises using async/await
  • Organize code with ES Modules

Module Lessons

  1. Variables, Types & Operators
  2. Functions & Scope
  3. Arrays & Objects
  4. Async JavaScript
  5. ES Modules

Challenge

Build an Employee Payroll Tracker with:

  • Add employees via prompt (name, salary)
  • Sort by last name
  • Display in a table
  • Calculate and display average salary
  • Pick a random employee

View Challenge →