Gurus, please help out:Storing Values with the Assignment Operator

Tell us what’s happening:

Your code so far


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

Your browser information:

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

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

The variable a and b are already definited in the part of the code you shouldn’t modify.
Also the challenge is asking you this:

Assign the value 7 to variable a .
Assign the contents of a to variable b .

You shouldn’t reassign anything to b except for the value of a (pay attention on who is getting a new value).

Also, on the left of the = sign (assignment operator) you have the variable that receives the new value.
On the right of the = sign you have something (a variable in this case, but it could also be an expression) that gets translated into a value to be passed on whatever there is on the left of the =.