
JavaScript Operators Cheat Sheet
A JavaScript operators cheat sheet with precedence, arithmetic, comparison, logical, nullish, bitwise and assignment operators, with exact Node.js 24 output.
Tag
6 posts

A JavaScript operators cheat sheet with precedence, arithmetic, comparison, logical, nullish, bitwise and assignment operators, with exact Node.js 24 output.

A quick reference to the Node.js built-in modules you reach for most, from fs and path to crypto, util and test, with runnable examples and exact output.

JavaScript has eight falsy values, and everything else is truthy, including empty arrays, empty objects and the string zero. See the full list with a check.

A TypeScript 6 cheat sheet of daily syntax: basic types, unions, generics, narrowing, utility types, classes and the compiler flags worth turning on.

A DOM manipulation cheat sheet: select, create, insert, move, remove, classes, attributes, data, styles, events, forms, scrolling and observers, with examples.

Every built-in TypeScript 6 utility type with a one-line definition, a worked example and the case where it misleads you, from Partial and Pick to Awaited.