in JavaScript by
What are a few conventions of naming variables in JavaScript?

1 Answer

0 votes
by

A few rules are:

  1. One should not use any JavaScript reserved keyword as the variable name. 
  2. Variable names in JavaScript cannot start with a numerical that is within 0-9. 
  3. Variable names in JavaScript are case sensitive. 

Related questions

0 votes
asked Feb 6, 2020 in JavaScript by rajeshsharma
0 votes
asked Feb 6, 2020 in JavaScript by rajeshsharma
0 votes
asked Sep 19, 2020 in XML by SakshiSharma
...