El valor de estructuración de los objetos ES6 y JavaScript

let tempObject = {name: 'John', age: 18};
const {name, age} = tempObject;

console.log(name);
//expected output: "John"

console.log(age);
//expected output: 18
Ehmed