Tell us what’s happening:
IT IS NOT WORKING I EVEN TRIED THE HINT
AND THERE IS NO VID
Your code so far
const HIGH_TEMPERATURES = {
yesterday: 75,
today: 77,
tomorrow: 80
};
// change code below this line
const { today, tomorrow } = HIGH_TEMPERATURES;
// change code above this line
console.log(yesterday) // should be not defined
console.log(today); // should be 77
console.log(tomorrow); // should be 80
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:77.0) Gecko/20100101 Firefox/77.0.
Challenge: Use Destructuring Assignment to Extract Values from Objects
Link to the challenge: