Basic JavaScript - Assigning the Value of One Variable to Another

Tell us what’s happening:
Describe your issue in detail here.
idk how to make: a should be assigned to b =

Your code so far

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

// Only change code below this line

Your browser information:

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

Challenge: Basic JavaScript - Assigning the Value of One Variable to Another

Link to the challenge:

Can you please explain more clearly what is your question ?


idk how to do the last activity on the bottom

You cannot declare b twice:

var b;
b =7;

and I think the last activity means:

b=a;

thanks for the help.

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