let tempObject = {name: 'John', age: 18}; const {name, age} = tempObject; console.log(name); //expected output: "John" console.log(age); //expected output: 18