Tell us what’s happening:
Your code so far
// Example
var ourVar = 19;
// Only change code below this line
var myVar = a;
var 9;
9 = a;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Initializing Variables with the Assignment Operator
Link to the challenge:
hey it is not working ya!
ilenia
3
This will get an error, 9
is not a valid variable name
Other error. You are trying to assign a
to 9
(what’s right is assigned to what’s left). That’s not possible to do. Error.
Look good at the example above and ask yourself what excatlly is happening here
var myKitty = 19;
would initialze the variable myKitty to 19