Isnt var a reserved word | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Isnt var a reserved word

Im taking a java script course and im on variables and im on the the part of naming them and it gave me a list of words i cant use. One of the words is var. I cant use var as a name for variables?

17th Feb 2019, 4:41 PM
NateyBoi
NateyBoi - avatar
4 Answers
+ 1
Yes, you’re right.
17th Feb 2019, 4:51 PM
Calviղ
Calviղ - avatar
0
But y
17th Feb 2019, 4:52 PM
NateyBoi
NateyBoi - avatar
0
K ill try to finish it
17th Feb 2019, 4:58 PM
NateyBoi
NateyBoi - avatar
- 1
Anyone knows JavaScript, would have known that var is for variable declaration used. You should go to complete the JavaScript course.
17th Feb 2019, 4:58 PM
Calviղ
Calviղ - avatar