javaScript number 3

Tell us what’s hcreappening:
Describe your issue in detail here.
a should be assigned with b

Your code so far

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

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

The contents of a should be assigned to b. Don’t hard code it, as you have. If the contents of a change from 7 to 10 for example, you will also need to change b to 10. There is a better way to do it by using the same example given.

only need b = a;

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