← CodeClarityLab Home
Browse by Category
+ added · updated 7d
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
Scheduler API (scheduler.postTask) ES2021
The Scheduler API (scheduler.postTask) lets you prioritise async tasks — user-blocking, user-visible, or background — giving the browser hints to schedule work optimally.
2mo ago javascript advanced
Streams API — ReadableStream & WritableStream HTML5
The Streams API provides composable, backpressure-aware data pipelines in the browser — processing large responses, files, or media chunk by chunk without buffering everything in memory.
2mo ago javascript advanced
Memory Leaks — Closures, Detached DOM ES2015
JavaScript memory leaks occur when references are accidentally retained — common causes: closures holding large objects, detached DOM nodes, forgotten event listeners, and growing Maps/Sets.
2mo ago javascript advanced
IndexedDB ES2015
Browser-native NoSQL database for offline-capable PHP web apps — stores structured data that survives page reloads, complements service workers.
2mo ago javascript advanced
Symbol & the Iterator Protocol ES2015
Symbol.iterator makes objects iterable with for...of — implementing the iterator protocol enables custom data structures to participate in all iteration contexts.
2mo ago javascript advanced
Typed Arrays & ArrayBuffer ES2015
Fixed-type binary arrays (Int32Array, Float64Array, Uint8Array) backed by raw ArrayBuffer memory — essential for WebGL, audio processing, file handling, and Web Workers.
2mo ago javascript advanced
WeakRef & FinalizationRegistry ES2021
WeakRef holds a weak reference allowing GC to collect the object — used for memory-safe caches. FinalizationRegistry runs a callback when an object is collected.
2mo ago javascript advanced
Web Components ES2018
Browser-native custom elements, shadow DOM, and HTML templates — framework-agnostic reusable components that work in React, Vue, plain HTML, and anywhere.
2mo ago javascript advanced
Web Crypto API ES2015
Browser-native cryptographic operations — crypto.subtle provides AES-GCM encryption, ECDSA signing, PBKDF2 key derivation, and SHA digests without external libraries.
2mo ago javascript advanced
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
Proxy & Reflect API ES2015
Proxy wraps an object and intercepts fundamental operations (get, set, delete) via handler traps — Reflect provides the default implementations of those operations.
2mo ago javascript advanced
Web Workers ES2015
Background threads in the browser that run JavaScript without blocking the main thread — essential for CPU-intensive tasks that would otherwise freeze the UI.
2mo ago javascript advanced
✓ schema.org compliant