Quartz 5

Home

❯

Org-roam

❯

Destructuring Objects

Destructuring Objects

Nov 03, 20201 min read

Introduction

Destructuring JavaScript Objects introduced in ES6. Rest Operator (…) in Object Destructuring can also be used here.

Syntax

const saviour = { first: "Jonn", last: "Connor" };
const { f, l } = saviour;
 
console.log(saviour, f, l); // { first: 'John', last: 'Connor' } John Connor

Graph View

  • Introduction
  • Syntax

Backlinks

  • ES6
  • JavaScript Destructuring
  • JavaScript Objects
  • JavaScript RegExp Named Capture Groups

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community