Почему не правильно?

const HIGH_TEMPERATURES = {
yesterday: 75,
today: 77,
tomorrow: 80
};

// Only change code below this line
const {highToday:today, highTomorrow:tomorrow}=HIGH_TEMPERATURES;

// Only change code above this line

console.log(highToday);
console.log(highTomorrow);

Please use the Ask For Help button.

You can’t change this object.

You need to use nested dustructuring here

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