Skip to content

Glossary: JavaScript Basics

Destructuring

Also written: destructure, destructured

Unpacking an array or object into separate variables in one step, such as `const [sku, bags] = entry` or `const { sku, qty } = item`.

Where the book teaches it

Related terms

ArrayObject