Skip to content

Commit 9b43ab8

Browse files
authored
Merge pull request #30 from borsec-suveran/patch-27
Update 02_.md
2 parents 179b061 + caa0633 commit 9b43ab8

File tree

1 file changed

+1
-1
lines changed
  • 02_Data Types and Variables/01_Declaring and Using Variables/03_Identifiers

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
As shown in the program above, it is crucial for a programmer to create identifiers that are both descriptive and valid. Although it is not recommended, changing a JavaScript keyword into a capital word such as "New" is one way you can "hack" the system and use identifiers that have the same name as the keywords.
22

3-
We recommend descriptive names such as "numberOfClients" as it tells the programmer what the variable holds nice and clear. Identifiers cannot begin with a digit, and even though underscores or dollar signs can be used, we recommend the use of letters as much as possible to eliminate any unwanted errors in the program.
3+
We recommend descriptive names such as "numberOfClients" as it tells the programmer what the variable holds neatly and clearly. Identifiers cannot begin with a digit, and even though underscores or dollar signs can be used, we recommend the use of letters as much as possible to eliminate any unwanted errors in the program.

0 commit comments

Comments
 (0)