What's new in JavaScript
summary
Covers concrete features and code patterns: uses async/await (marked async functions, await Promise.all for concurrent requests) to replace .then chains and shows a sleep promise example; contrasts fetch (two-step response.json()) with axios (single call). Demonstrates IntersectionObserver to autoplay/pause slide videos, lazy-load images and implement sticky headers; explains Payment Request API returning billing tokens for processors; shows getUserMedia streaming to a video tag and dumping a frame to canvas for photos, green‑screen and motion detection; describes per‑element ResizeObserver for element queries.
AI-written summary · about
