const person = { name: 'John Doe',}; const { name } = person; // Or unpack with other nameconst { name: fullName } = person;
`fullName`
`name`
`John Doe`