lowToday should be equal to 64 and highToday should be equal to 77

I do not understand how to make my code lowToday equal to 64 and highToday equal to 77 .
:man_shrugging: What shouldI do???
Your code so far


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

Your browser information:

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

Challenge: Use Destructuring Assignment to Assign Variables from Nested Objects

Link to the challenge:

Doesn’t your code already do that?

1 Like

no @sanity :no_good_man:how can you help me than???

or is my program workng wrong???

If I paste your code I pass the challenge.
Maybe try deactivating some browser extensions or just try another browser - those can sometimes cause trouble.

I tried but it did not work any ideas?

read the title again the error is the title and maybe there is a error that we do not know

my code is :
const { today: { low: lowToday, high: highToday } } = LOCAL_FORECAST;

try running it again

can ANYONE JUST HELP ME???

First: rude.
Second: calm down, this is a forum, not an emergency-call. People have jobs and other things to do and won’t reply in 10 minutes whenever you have a problem.
Third: I ran it again and it still worked…

Resett your code, paste the thing your wrote where it belongs, add a console.log() for the values and if it still fails, post everything here.

can you give all the code you have in the editor?

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

is that all the code you have in the editor? I mean all of it, not just what you have written

yes @ilenia. :face_exhaling:
so can you help me!

OOps! I will try…
And I need to do what @ilenia would say first.

you may want to check the rest of the output then
image

and remember that you had a comment that say // Only change code below this line, which seems you ahve deleted together with other important code

1 Like

oh right! thank you @ilenia! I will try.

And what was a ES5 assignment syntax again?

the one that doesn’t use destructuring, you can see it in the original code of the challenge