Can not understand a should be 7 variable java script

understand a should be 7 variable java script

Your code so far


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

// 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/100.0.4896.88 Safari/537.36

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

the assign operator in js is the sign " = " when you use it on a variable you assign whatever value that comes after it to the variable on the left ,
in js you can asign one variable the value of another variable without the need to rewrite the value ,just write the name of the variable ,in this case its “b”.

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