Storing Values with the Assignment Operator-confused

Tell us what’s happening:

I have assinged a to 7 and b to 7, however I’m not understanding why my code isn’t working when I’m assigning a = b. what am I doing wrong??

Your code so far


// Setup
var a;
var b = 2;

// Only change code below this line
a = 7
b = 5+2
b = a

Your browser information:

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

What are you expecting to happen?

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

Almost there! In this case the tests seems to be looking at what you have written exactly
Something you need to remove from your code
Also, remember your semicolons, sometimes the tests can not pass if you don’t use them

I got it!!! thank you for your help