I just started Javascript and I am already stuck: Can someone help with this assignment:
/
/
/
// Setup
var a;
var b = 2;
// Only change code below this line
myVar = 7
/
/
/
I just started Javascript and I am already stuck: Can someone help with this assignment:
/
/
/
// Setup
var a;
var b = 2;
// Only change code below this line
myVar = 7
/
/
/
The variable a is already declared for you. You just have to assign a value of 7 to it. Then re-initialize b to a. Be sure to use the proper names and not the name myVar.