javascript destructuring object alias 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;