Javascript terms
From DOM manipulation to async superpowers
JavaScript has evolved from a scripting curiosity into a full-stack language powering browsers, servers, and everything in between. This category covers the language core — closures, prototypes, async patterns, the event loop, modern ES2024+ features — as well as runtime behaviour that trips up developers at every experience level. Understanding JavaScript deeply means fewer bugs and more confident code.
requestAnimationFrame — Smooth Animations HTML5
requestAnimationFrame(callback) schedules a function to run before the browser's next repaint — the correct way to animate in JavaScript, producing smooth 60fps motion and automatically pausing when the tab is hidden.
2mo ago
javascript intermediate
ResizeObserver API HTML5
ResizeObserver watches element size changes without polling — more efficient than resize event listeners and works for any element, not just the window.
2mo ago
javascript intermediate
ReferenceError — Undefined Variables ES2015
ReferenceError is thrown when accessing a variable that hasn't been declared — unlike undefined which is a declared variable with no value.
2mo ago
javascript beginner
Reactive Patterns — Observer & Pub/Sub in JavaScript ES2015
EventEmitter, CustomEvent, and pub/sub patterns coordinate state changes across components without tight coupling — common in PHP-rendered pages with JS islands.
2mo ago
javascript intermediate
Regular Expressions in JavaScript ES2015
JS regex syntax, flags (g, i, m, s, u, d), methods (test, match, matchAll, replace, split), and the critical differences from PHP's PCRE.
2mo ago
javascript intermediate
RangeError — Stack Overflow & Invalid Values ES5
RangeError is thrown when a value is outside its allowed range — most commonly from infinite recursion (stack overflow) or invalid array/string sizes.
javascript intermediate