Login
Remember
Register
Ask a Question
What are a few conventions of naming variables in JavaScript?
0
votes
asked
Sep 19, 2021
in
JavaScript
by
sharadyadav1986
What are a few conventions of naming variables in JavaScript?
naming-convention
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 19, 2021
by
sharadyadav1986
A few rules are:
One should not use any JavaScript reserved keyword as the variable name.
Variable names in JavaScript cannot start with a numerical that is within 0-9.
Variable names in JavaScript are case sensitive.
...