0

Why why can you not jse any of the java script reserved words

I read that it says not to use the reserve words why?

17th Sep 2016, 2:20 PM
Dylan Summers
Dylan Summers - avatar
2 Réponses
+ 2
Because they are reserved for the language. For example: for, while, do, if, else, function...
17th Sep 2016, 2:48 PM
Zen
Zen - avatar
0
actually, in any programming language you shouldn't use reserved words. Depending on language, you'll get a compilation / interpretation error or unexpected results from running a code. there's the one exception from that rule: if only you clearly know and understand what you are doing.
17th Sep 2016, 9:45 PM
Сергей Сарбаш
Сергей Сарбаш - avatar