JavaScript
The programming language of web browsers, also widely used on servers through Node.js.
In more detail
It adds behaviour to web pages, such as responding to clicks, changing the page and fetching data. JS is its common abbreviation, and TypeScript is a type-checked variant that compiles to it.
Examples
React components and the lesson scripts are JavaScript (written as TypeScript).In the browser: The browser runs JavaScript on the page's main thread, so long-running scripts delay rendering and input. The language is standardised as ECMAScript, and the browser adds web interfaces such as the DOM, fetch and timers.Python does not run in the browser; JavaScript does.React components are ordinary JavaScript functions, and JSX is compiled down to plain JavaScript before the browser runs it.In this course it matters as the language an injected script is written in during cross-site scripting, and as the content of front-end bundles that must never contain server keys.In this course: Its test tools include Jest and Vitest, and code that needs randomness is often given a random function as an argument so tests can control it. Its type-checked variant is TypeScript..js is the file extension of JavaScript files; .ts is TypeScriptRelated terms
- Node.js — A program that runs JavaScript outside the web browser, used mainly to build servers, command-line tools and back-end services.
- JavaScript action — An action written in JavaScript that the runner executes directly with Node.js, making it the fastest kind to start.
- TypeScript — JavaScript with added type annotations, checked by a compiler before the code runs.
- DOM — The tree of objects a browser builds from a web page, which scripts read and change to update what is on screen.
- static typing — A language rule that every variable has one fixed type, known when the program is compiled, so type mistakes are caught before it runs.
- main thread — The first thread a program starts with; in a browser page it also runs JavaScript and handles input, layout and painting.
- event loop — The central loop of an asynchronous program that waits for events, such as timers firing or data arriving, and runs the matching callbacks.
- bundler — A build tool, such as webpack, Rollup or Vite, that follows imports and combines modules into files a browser can load efficiently.
- bundle — The files a build tool produces by combining an application's code and its libraries for the browser to download.
- ECMAScript — The official standard that defines the JavaScript language, updated every year by a committee of the Ecma International standards body.
- V8 — Google's open-source JavaScript engine, used by Chrome and Node.js to parse, compile and run JavaScript.
- dynamic typing — A language design where a variable can hold a value of any type and types are only checked while the program runs.
- Python — A popular general-purpose programming language known for readable code and a large standard library.
- web browser — A program such as Chrome, Firefox or Safari that downloads web pages and turns their code into the screen you see and use.
- JSX — The HTML-like syntax used in React code, such as <Button size="lg">Save</Button>, which compiles to JavaScript function calls.
- cross-site scripting — An attack in which someone gets their own script to run inside your page, where it can read data, act as the user or steal tokens.
- Jest — A popular JavaScript testing framework that bundles a test runner, assertions, mocking and code coverage in one package.
- Vitest — A fast JavaScript and TypeScript testing framework built on the Vite build tool, with an API compatible with Jest.
Taught in
- Guardrails, Privacy And Governance — AI Engineering: LLM Apps, RAG & Agents
- Workflows, Jobs, Steps, and Actions — Continuous Integration & Continuous Delivery Pipelines
- Token Transformation: Style Dictionary & Multi-Platform Outputs — Design Systems & Component Engineering
- CSS Custom Properties & Dynamic Theming Architecture — Design Systems & Component Engineering
- Tailwind CSS v4 Engine: CSS Variables & Theme Extensions — Design Systems & Component Engineering
- Component Packaging: Dual ESM/CJS Builds & Package Exports — Design Systems & Component Engineering
- The C# Language: Types, Variables, and Flow Control — Modern .NET Core, C# & Enterprise Microservices
- Layout, Reflow, Paint And GPU Compositing Layers — Frontend Architecture & Web Platform
- Critical Rendering Path: Preload, Prefetch And Scripts — Frontend Architecture & Web Platform
- Semantic HTML Elements: Landmarks And Structure — Frontend Architecture & Web Platform
- Passive Listeners, Scroll Performance And Touch Interactions — Frontend Architecture & Web Platform
- The Browser Event Loop: Call Stack, Microtasks And Macrotasks — Frontend Architecture & Web Platform
- Memory Management: Garbage Collection, Memory Leaks And WeakMap — Frontend Architecture & Web Platform
- End-to-End Type Safety: Shared Schemas & DTOs — Production Full-Stack Engineering
- Environment Configuration: Secrets & Multi-Stage — Production Full-Stack Engineering
- Session Architecture: HTTP-Only Cookies vs Tokens — Production Full-Stack Engineering
- Containerization Architecture: Multi-Stage Dockerfiles — Production Full-Stack Engineering
- App Router Architecture: Server-First Paradigms — Next.js 15 & Modern App Router Architecture
- Server Components: Async Execution & Constraints — Next.js 15 & Modern App Router Architecture
- Client Components: use client & Hydration Models — Next.js 15 & Modern App Router Architecture
- Root & Nested Layouts: State Preservation Semantics — Next.js 15 & Modern App Router Architecture
- Templates vs Layouts: Remounting & Page Transitions — Next.js 15 & Modern App Router Architecture
- Dynamic Routes: Slugs & generateStaticParams — Next.js 15 & Modern App Router Architecture
- V8 Engine & JIT Pipeline: Bytecode & Turbofan — Node.js Internals & Backend Services
- Native Module Systems: ESM Loader Hooks vs CommonJS — Node.js Internals & Backend Services
- Buffer Encodings: UTF-8, Hex, Base64 & Slicing — Node.js Internals & Backend Services
- What Python Is, And Where It Came From — Hands-on Python: Complete Video Course & Book
- JSX Transpilation: createElement, JSX Runtime, React Elements — React 19 & Modern Component Architecture
- Props Contract: Immutability, Children, And Polymorphic Tags — React 19 & Modern Component Architecture
- Virtual DOM vs Real DOM: The Reconciliation Cost Model — React 19 & Modern Component Architecture
- React Fiber Architecture: Work Units, Priority And Commits — React 19 & Modern Component Architecture
- useRef Mechanics: DOM References And Mutable Persistent State — React 19 & Modern Component Architecture
- Custom Hook Composition: Encapsulating Reactive Logic — React 19 & Modern Component Architecture
- useSyncExternalStore: Tearing-Free Store Subscriptions — React 19 & Modern Component Architecture
- Concurrent Mode: Interruptible Work And Lane Priority — React 19 & Modern Component Architecture
- useActionState: Async Action Handlers And Pending States — React 19 & Modern Component Architecture
- The use() Hook: Reading Promises And Context Directly — React 19 & Modern Component Architecture
- Why Secrets Leak — Application Security & Threat Modeling for Engineers
- Cross-Site Scripting — Application Security & Threat Modeling for Engineers
- Introducing pytest — Automated Testing, TDD & Quality Engineering
- Testing Time And Randomness — Automated Testing, TDD & Quality Engineering
- Testing The Filesystem — Automated Testing, TDD & Quality Engineering
- Integration Testing With Containers — Automated Testing, TDD & Quality Engineering
- Why TypeScript: Contracts, Erased Types And Soundness — Production TypeScript
- The Compiler Pipeline: tsc, AST And Code Emission — Production TypeScript
- tsconfig.json: target, lib, strict And NodeNext — Production TypeScript
- Verify Your Environment: Running tsc And Bun TypeScript — Production TypeScript
- Primitive Types: String, Number, Boolean, Bigint And Symbol — Production TypeScript
- Literal Types: String, Number, Boolean Literals And const — Production TypeScript
- void, undefined And null: Exact Optional Property Types — Production TypeScript
- never: The Bottom Type And Exhaustive Switch Checking — Production TypeScript
- Tuples: Fixed Length, Labeled Elements And Variadic Tuples — Production TypeScript
- Typeof Guards, Truthiness And Equality Narrowing — Production TypeScript
- The in Operator And Instanceof Narrowing — Production TypeScript
- Why Generics: Functions, Identities And Type Variables — Production TypeScript
- Generic Interfaces, Classes And Type Aliases — Production TypeScript
- Generic Constraints: extends, keyof And Indexed Access — Production TypeScript
- Union Utilities: Exclude, Extract, NonNullable And Awaited — Production TypeScript
- Conditional Types: Ternary Types And Type Inference With infer — Production TypeScript
- ECMAScript Modules, CJS Interop And verbatimModuleSyntax — Production TypeScript
- Declaration Files, Ambient Namespaces And Module Augmentation — Production TypeScript
- Modern Decorators: Stage 3 Standards And Class Metadata — Production TypeScript
- The Spine Artifact: Generating Typed Models From OpenAPI — Production TypeScript