Can I change var('s) value syntax instead of updating it?
Louise St. GermainTreehouse Moderator 15,555 Points
Yes, you definitely can! There's no specific need to set the variable's value to "Hello" first, and then immediately change it to something else. This is just being done as an example here, to show that when you first create the variable, you'd use var [variable name] = [whatever], but later if you want to change the variable's value to something else, you don't put var in front of it. You'd just do [variable name] = [whatever new thing].
I hope this helps!