Asking for solution

Tell us what’s happening:

I’m writing the same syntax as described in sample code, after that I’m not able to pass all the tests.

Your code so far

yesterday: 75,
today: 77,
tomorrow: 80

// Only change code below this line

const {today:temperatureToday, tomorrow:temperatureTomorrow}=HIGH_TEMPERATURES;

// 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/70.0.3538.102 Safari/537.36 Edge/18.18362.

Challenge: Use Destructuring Assignment to Assign Variables from Objects

Link to the challenge:

variable names should be highToday and highTomorrow

1 Like