es6 destructuring object property 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;