Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are a few conventions of naming variables in JavaScript?
Home
JavaScript
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.
Related questions
0
votes
Q: What are the variable naming conventions in JavaScript?
asked
Oct 19, 2019
in
JavaScript
by
SakshiSharma
naming-conventions
0
votes
Q: What are the different conventions used while naming a project in Maven?
asked
Sep 1, 2023
in
Maven - Coalescing Pipeline
by
JackTerrance
maven-interview-questions-answers
0
votes
Q: What Kind of Naming Conventions Is Used for Custom Directives?
asked
Dec 31, 2023
in
Angular
by
DavidAnderson
angularjs-questions-answers
0
votes
Q: Which statment is correct about variable naming conventions in C#?
asked
Jun 16, 2020
in
C Sharp
by
Hodge
#csharp
0
votes
Q: Which statment is correct about variable naming conventions in C#?
asked
Jun 16, 2020
in
C Sharp
by
Hodge
#csharp
0
votes
Q: Name a few JavaScript Frameworks?
asked
Sep 20, 2021
in
JavaScript
by
sharadyadav1986
javascript-frameworkd
0
votes
Q: What are the conventions to be followed for the usage of switch case?
asked
Oct 10, 2023
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What are the benefits of initializing variables in Javascript?
asked
Oct 4, 2023
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What are the problems with global variables in Javascript?
asked
Oct 1, 2023
in
JavaScript
by
GeorgeBell
javascript-interview-questions-answers
0
votes
Q: What are global variables in Javascript?
asked
Oct 1, 2023
in
JavaScript
by
GeorgeBell
javascript-interview-questions-answers
...