Valeur de structuration de l'objet ES6 et JavaScript

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

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

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