← CodeClarityLab Home
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
JavaScript Bundling — Vite, Webpack, esbuild ES2015
Bundlers combine JS modules into optimised files served by PHP — Vite for dev speed, Webpack for complex pipelines, esbuild for raw performance.
2mo ago javascript intermediate
JSON.parse & JSON.stringify ES5
JSON.stringify converts JS objects to JSON strings; JSON.parse converts them back — direct counterpart to PHP's json_encode/json_decode.
2mo ago javascript beginner
JavaScript Module Patterns ES2015
The evolution of JS modules — IIFE (pre-modules), CommonJS (Node.js require/exports), AMD (browser async), UMD (universal), and ESM (native import/export, the standard).
2mo ago javascript intermediate
Diagram: JavaScript Closures JavaScript Closures ES5
A function that retains access to its enclosing scope's variables even after the outer function has returned — the foundation of data privacy in JS.
2mo ago javascript intermediate
JavaScript Error Types & Custom Errors ES5
JavaScript has built-in error types (TypeError, RangeError, SyntaxError) and supports custom error classes — enabling typed error handling and meaningful error hierarchies.
2mo ago javascript intermediate
Diagram: JavaScript Event Loop JavaScript Event Loop ES5
The mechanism that lets JavaScript execute non-blocking I/O despite being single-threaded — call stack, microtask queue, and macrotask queue.
2mo ago javascript intermediate
Diagram: JavaScript Generators JavaScript Generators ES2015
Functions that can pause execution and yield values on demand — enabling lazy sequences, infinite iterables, and cooperative async control flow.
2mo ago javascript advanced
✓ schema.org compliant