The outcome is the same whether I use curly brackets for the consts or not

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 yesterday = HIGH_TEMPERATURES;
const today = HIGH_TEMPERATURES;
const tomorrow = HIGH_TEMPERATURES;
console.log(HIGH_TEMPERATURES)
// Only change code above this line
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Use Destructuring Assignment to Extract Values from Objects

Link to the challenge:

…?


You aren’t destructuring or extracting any information here. You’re just replicating the reference to the object.

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