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