Trying to do the final bit on Storing Values with the Assignment Operator

Tell us what’s happening:
I am trying to get a to be assigned to b with =. So far I have done everything else. Just stick on the final bit.

Your code so far


// Setup
var a;
var b = 2;

// Only change code below this line
a = 7;
b = 7;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator

Here a = 7; you have assigned 7 to a variable.

Here b = 7; you’ve done the same with b variable.

But you have to assign a variable to b variable instead of assigning the 7 to b.

Can you fix it now?

Thank you Timagixe. Just figured that out now.

See you later.