Pull named fields out of an object.

Object Destructuring

object_destructure.js
const quantity = 2;
const { item, qty } = { item: "pen", qty: quantity };
const summary = item + "=" + qty;

console.log("item=" + item);
console.log("summary=" + summary);
object-destructuring Object destructuring reads properties by name. The left-hand names match fields on the object unless you rename them.