Skip to content

Glossary: JavaScript Beyond the Basics

Destructuring

Also written: destructure

Unpacking values from an object (by name) or an array (by position) into separate variables in one line. You can rename, give defaults, reach into nested objects, and do it in parameter lists.

Where the book teaches it

Related terms

Rest / spread