Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b43ab8

Browse files
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
Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /