How do i assign a to b

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

// Only change code below this line
var myvar;
myvar = 5;
var mynum;
mynum = myvar;

b = 7;

var abc=b;
var a;
a = b;

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

Hi @noahsauceda64 !

Welcome to the forum!

I would suggest resetting the lesson.
Your answer only needs to be one line.

The way assignment works is whatever is on the right hand side of the = gets assigned to the variable on the left.

Here is an example where I am assigning myName to a variable called developer.

// Setup
var developer;
var myName = "Jessica";

// Only change code below this line

developer = myName

In this challenge, you need to assign a to b

Hope that helps!