object destructuring alias and continue destructuring code example
Example: javascript object destructuring alias
// Grabs obj.x as as { otherName }
const { x: otherName } = obj;
// Grabs obj.x as as { otherName }
const { x: otherName } = obj;