#reference
Posts tagged with “reference”.
6 posts
JavaScript Array Methods: A Practical Reference
map, filter, reduce and friends are the core of modern JavaScript. Learn what each does, when to use it, and the mistakes to avoid.
JavaScript Destructuring: A Practical Guide
Destructuring pulls values out of arrays and objects into variables. Learn the syntax, defaults, renaming, and the nested patterns.
JavaScript Object Methods: A Practical Reference
Object.keys, entries, assign, freeze and the rest. Learn what each does, the shallow-copy trap, and the modern alternatives.
Optional Chaining and Nullish Coalescing in JavaScript
?. and ?? make null-safe access readable. Learn the syntax, the difference from ||, and the cases where they hide bugs.
JavaScript Regular Expressions: A Practical Guide
Regex is powerful and easy to get wrong. Learn the syntax, the flags, the common patterns, and how to test them safely.
The JavaScript Spread Operator: Uses and Traps
Spread expands an iterable into individual elements. Learn the copy, merge, and call patterns, plus the shallow-copy trap.