← 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
ES Modules (ESM) ES2015
The official JavaScript module system — import and export statements enable static dependency graphs, tree-shaking, and native browser module loading without a bundler.
4w ago javascript intermediate
Error.cause — Error Chaining ES2022
ES2022 added a cause option to the Error constructor — 'new Error('message', { cause: originalError })' — enabling proper error chaining where a high-level error wraps its underlying cause, preserving the full error context across abstraction layers.
2mo ago javascript beginner
EventSource API — Server-Sent Events (Client Side) HTML5
EventSource is the browser API for consuming Server-Sent Events (SSE) — a one-directional server-to-client stream over HTTP that automatically reconnects, ideal for live feeds, notifications, and streaming LLM responses.
2mo ago javascript intermediate
Event Loop Blocking — Long Tasks ES5
JavaScript is single-threaded — synchronous code that runs >50ms blocks the event loop, freezing UI and delaying I/O callbacks. Break long tasks into chunks.
2mo ago javascript intermediate
ES6 Class Syntax ES2015
ES6 classes are syntactic sugar over prototypal inheritance — the keywords mirror PHP but the underlying mechanism is different.
2mo ago javascript intermediate
ES Modules (import/export) ES2015
The standard JavaScript module system — static imports/exports enable tree-shaking, top-level await, and strict mode by default.
2mo ago javascript beginner
Diagram: Event Delegation Event Delegation ES5
A pattern that attaches a single event listener to a parent element instead of many listeners to children — using event bubbling to handle events from dynamically added children.
2mo ago javascript intermediate
✓ schema.org compliant