Storing Values with the Assignment Operator - help solve pls

Tell us what’s happening:
I’m storing the values in a and b, and later assigning a to b with = , yet the last command isn’t checked when i submit my codes. Can anyone spot the mistake in my code? Thanks

Your code so far

// Setup
var a;
var b = 2;

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

Your browser information:
// running tests

a should be assigned to b with =

// tests completed

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

Link to the challenge:

End lines with semicolons^^
a = 7 ;

1 Like

Thanks Layer, ur right. I figured :blush:

1 Like