Please Help: Storing Values with the Assignment Operator

Please Help: Storing Values with the Assignment Operator
0.0 0

#1

Tell us what’s happening:

I know it sounds stupid, but how do you assign variable a to variable b?

Shouldn’t it be var a = var b; ?

Help is much appreciated :smiley:

Your code so far

// Setup
var a = 7;
var b = 2;

// Only change code below this line
myVar = 5;
myVar = myNum;

**Your browser information:**

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

**Link to the challenge:**
https://www.freecodecamp.org/challenges/storing-values-with-the-assignment-operator

#2
b = a;

Not var a = var b; (or the other way around). The var keyword can’t go to the right of the assignment operator.