Stuck on how to assign a to b wit "="

Tell us what’s happening:

Your code so far


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

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

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

You need to assign the contents of a to b. You are instead assigning the same value to both variables.

1 Like