I need help with this stuff

Tell us what’s happening:
so i dont get what it means about a shoul be with b it makes no sence idk if you guys can help with that

Your code so far


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

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

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

1 Like

should sorry bout that

Hey @poopatcode!

In programming, the right side of the assignment operator gets assigned to the left variable. For example:

var a;  // variable declaration
a=7; // the number seven is assigned to variable a 

In this challenge, you will need to assign variable a to variable b.

You do not need to create another variable declaration called myVar because variable b has already been created for you. So you will need to delete myVar.

Your solution should only be one line of code.

Hopefully I gave you enough hints to help you solve this problem.

Happy coding!

1 Like