Variable 5

Naming Variables



There are some other rules to follow when naming your JavaScript variables:

- You must not use any special symbols, like my#num, num%, etc.
- Be sure that you do not use any of the following JavaScript reserved words.
When you get more familiar with JavaScript, remembering these keywords will be much easier.
What characters cannot be used in variable names?

Letters
Numbers
Underscore sign
Special symbols (%, #, etc

Comments

Popular posts from this blog

Introducing object part 3

Comparison Operators part 2

Module 2