I have a really weird issue

Tell us what’s happening:
Describe your issue in detail here.
I’m unable to pass this lesson because I keep getting a syntax error based on the second ‘v’ in my code. Apparently it’s spelled wrong?.. Help!!

Your code so far


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

// Only change code below this line

var b = var a;

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

Hi @lrm9298 !

Welcome to the forum!
Your issue is here

You are not supposed to redeclare those variables.
You need to get rid of the var keywords there and the syntax error will go away and the test will pass.

Hope that helps!

2 Likes

OH I see, thank you!

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