valor de estrutura do objeto ES6 e JavaScript
let tempObject = {name: 'John', age: 18};
const {name, age} = tempObject;
console.log(name);
//expected output: "John"
console.log(age);
//expected output: 18
Ehmed