Object Destructuring
Extracting properties from objects into individual variables using a concise pattern-matching syntax, including renaming, defaults, and nested patterns.
Object destructuring, introduced in ES6, lets you unpack properties from an object directly into variables using a syntax that mirrors the object's own shape, replacing repetitive const x = obj.x; const y = obj.y; boilerplate. It's used constantly in modern codebases — especially for function parameters — so fluency with its various forms is assumed in almost every JS interview.
Destructuring is like using a labeled cookie cutter on a big sheet of dough — instead of trimming out each variable's exact shape by hand, you press one pattern into the object and lift out however many named pieces you asked for, all in one motion.