+ 1
If "var" is a reserved word why then should it be used to declare a variable? plsss $ome help
reserved words
5 odpowiedzi
+ 6
Because it's reserved specifically for the purpose of declaring a variable.
+ 2
Reserved words are keywords of the language, like var, function, if, else, for, while, switch, etc.
+ 2
It means you cannot create a variable by name 'var'.
0
You can not use the keywords to define your variables as it will not allow.