0 votes
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 Jun 16, 2020 in C Sharp by Hodge
0 votes
asked Oct 1, 2023 in JavaScript by GeorgeBell
...