Value of one variable to another

I didn’t get this: can anyone tell me what’s wrong and what’s the correct answer?

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 6.0.1; P01T_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Safari/537.36 (Ecosia android@88.0.4324.181)

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

You have added changes above this comment. You should reset this challenge and only add one line of code below that comment.


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