Storing Values with the Assignment Operator - Run Test Not Working

Storing Values with the Assignment Operator - Run Test Not Working
0

#1

Tell us what’s happening:
For some reason when I click Run it won’t run or test the code at first it did but then when i hit reset it just stopped. Other curriculum is working. Any tips? Already restarted browser. Using Google Chrome

Your code so far


// Setup
var a;
var b = 2;

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

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


#2

You do not need the “var” you are adding to your code
use

 a = 7;
 b = a;

instead of

var a;
var b = 7;
var a = var b;

#3

OH okay makes sense it still is asking for me to assign A to B with =

How would that be solved?


#4

@Tchoukoualeu already gave you the answer.


#5

apparently not still saying i need to do the last thing i mentioned.


#6

Then you did not copy/pasting his solution. @Tchoukoualeu typed out the solution. for you. Only way we can know what you did is if you posted.