Destructing assignments to assign in nested objects

Tell us what’s happening:

i am not getting

Your code so far


const LOCAL_FORECAST = {
yesterday: { low: 61, high: 75 },
today: { low: 64, high: 77 },
tomorrow: { low: 68, high: 80 }
};

// Only change code below this line

const {Today:{ low:lowToday ,high:highToday }} = LOCAL_FORECAST;


// 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/84.0.4147.89 Safari/537.36.

Challenge: Use Destructuring Assignment to Assign Variables from Nested Objects

Link to the challenge:

first, LOCAL_FORECAST doesn’t have a Today property, was maybe today you wanted?