Browse 7 notes tagged JavaScript.
Use counters to explore closures and lexical scope, shared and independent state, and memory cleanup.
Build a reusable array transformation to understand callbacks, higher-order functions, map, arrow functions, mutation, and shallow copies.
Trace JavaScript function calls, parameters, return values, and local variables with original examples, then see how closures preserve state.
An element can shrink without the viewport changing. Use a runnable JavaScript example to understand ResizeObserver, content and border boxes, logical axes, hidden elements, cleanup, and resize feedback loops.
Learn root, rootMargin, threshold, initial notifications, and observer cleanup with small JavaScript examples. Separate infinite-scroll request control from virtualization and its DOM budget.
AbortController stops work a person has superseded, but cancellation, timeouts, HTTP failures, and server-side effects need different handling. Put controller ownership in the right place first.
Scheduler gives the browser a priority hint; it is not a background thread. Keep short UI work synchronous, then choose postTask, yield, or a Web Worker from measured evidence.
Google services settings
Analytics and advertising stay off until you choose.