One valid JSON value per line, separated by newlines. Why that shape suits streaming, logging, and append-only data better than a JSON array does.


One valid JSON value per line, separated by newlines. Why that shape suits streaming, logging, and append-only data better than a JSON array does.

Integer keys on an Object get sorted ascending whether you want it or not. Key ordering, iteration, and speed compared between Object and Map.

JavaScript lets non-boolean values act like true/false in conditions. What truthy and falsy actually are, how the engine evaluates them, and the six falsy values.

JS objects are easy to add to, delete from, and modify. Proxy is how you intercept and redefine those basic operations, with trap methods and the rules they must follow.

Browsers register DOM elements with an id as global variables. How that legacy feature works, how it differs from getElementById, and why you shouldn't rely on it.
