Storing Values with the Assignment Operator2

Tell us what’s happening:

Your code so far


// Setup
var a;
var b = 2;

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

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

Hey Emmanuel!
In this exercise, you first need to assign the value 7 to variable a.

What you are doing is declaring variable a but you are not assigning it a value. :wink:
Take a look at that and try to solve the rest.

In case you need anything, here we are.
Good luck!