Aside from destructuring objects into function arguments, you can use them inside variable declarations as follows:
const person = {
name: 'John Doe',
age: 45,
location: 'Paris, France',
};
let { name, age, location } = person;
console.log('I am ' + name + ', aged ' + age + ' and li...