I'm not able to assign a to b with =

Tell us what’s happening:
Describe your issue in detail here.
How do i assign a to b with =

Your code so far


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

// Only change code below this line
a = 5;// The variable 'a' is equal to 5
b = 7;// The variable 'b' is equal to 7
a = b;// The variable 'a' is equal to The variable 'b'

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

This extra stuff should not be there.

Here you are storing the value of b into a. I think the instructions want it the other way around.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.