Says a = b; but the console says i do not have it but i do

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

Your code so far

// Setup

// Only change code below this li
var b;
b = 7;

var a;

a = b;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

Hi @2OWIN !

Welcome to the forum!

I would reset the lesson because there are a few erorrs.

Do not change the setup code.
You should not touch any of this code

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

The directions say to write your code below this line

// Only change code below this line

Your logic is incorrect here

It is supposed to be the reverse.

The directions want you to assign the contents of variable a to variable b.

Once you fix those things then the test will pass.

Hope that helps!