ES6 - Use Destructuring Assignment to Extract Values from Objects

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
const HIGH_TEMPERATURES = {
yesterday: 75,
today: 77,
tomorrow: 80
};

// Only change code below this line

const today = HIGH_TEMPERATURES.today;
const tomorrow = HIGH_TEMPERATURES.tomorrow;

// Only change code above this line
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: ES6 - Use Destructuring Assignment to Extract Values from Objects

Link to the challenge:

It doesn’t appear you have made any changes to the code. Do you have a specific question about this challenge?

take a look at the example once more:

const user = { name: 'John Doe', age: 34 };
const { name, age } = user;

You should use the same syntax to complete this step.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.