Storing Values with the Assignment Operator challenger

Tell us what’s happening:

I can’t seem to even run the test I’ve done other sections and all the challenges in the web dev cert. without issue

Your code so far

// Setup
var a;
var b = 2;

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

Your browser information:

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

Link to the challenge:

Nice try!

You don’t need to declare with keywords var again since they have been setup for you.

There for you can finish your code without vars. Click below if you can’t still figure out.

a = 7;
b = a;

1 Like

Ahh , tricky the first language I started learning was C++.

1 Like

This would be consistent across languages.