Declare commands and flags with yargs in a Node script.
Language: JavaScript
Issue several HTTP requests in parallel with Promise.all.
Persist a JSON object to localStorage and read it back.
Classic debounce — delay invoking fn until X ms after the last call.
Open a WebSocket, send a message, and log incoming frames.
Minimal Express app with a JSON endpoint.
Compose map, filter, and reduce to transform a list of numbers.
Sort with Array.prototype.sort and a comparator function.
Use named capture groups with the /g flag and matchAll.
Compute a SHA256 hex digest with the node:crypto stdlib.