+ 1

If "var" is a reserved word why then should it be used to declare a variable? plsss $ome help

reserved words

11th Sep 2016, 10:53 PM
Petersburg IK
Petersburg IK - avatar
5 Answers
+ 6
Because it's reserved specifically for the purpose of declaring a variable.
11th Sep 2016, 10:56 PM
Steve
+ 2
Reserved words are keywords of the language, like var, function, if, else, for, while, switch, etc.
12th Sep 2016, 7:15 AM
Zen
Zen - avatar
+ 2
It means you cannot create a variable by name 'var'.
13th Sep 2016, 5:49 PM
Shashidhar D
Shashidhar D - avatar
0
You can not use the keywords to define your variables as it will not allow.
16th Sep 2016, 6:42 PM
Venkata Bodapati