# Destructuring

Destructuring unpacks the values you need from an object or an array into variables in one line, with defaults for anything missing and new names when you want them.

![Cheat sheet: Destructuring](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/2349a83275b5482794fe5420583bda3d.webp)

- Category: JavaScript
- Level: Apprentice
- Tags: Array Destructuring, JavaScript, Object Destructuring, Parameter (javascript)
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-unpacking-destructuring-cheat-sheet
