+ 1
how to create a player variable with the string 'jasmine' in it
how to get this done in JavaScript
8 Antworten
+ 1
do you mean like this
var player = "jasmine";
+ 1
I did that then it asks me did you assign the name Jasmine to the player variable
0
not understand you ... can you explain more in details !!
0
var mainPlayer = 'jasmine'
0
I'm using Treehouse to learn JavaScript
0
is telling me to create a player variable with the string Jasmine in it
0
so I put VAR player equals 'Jasmine';
0
after doing that it said did you assign the name Jasmine to player variable telling me that I did it incorrectly