Variable name rules


  1. A variable name can't contain any space.
  2. A variable name can only contain letter, number, dollar sign and underscore.
  3. A variable name are case sensitive.
  4. It is better to write variable name in camelCase for easy understanding.
  5. Make variable name more descriptive and meaningful.

Share this

Related Posts