Skip to content

Commit 179b061

Browse files
authored
Merge pull request #29 from borsec-suveran/patch-26
Update 00_.md
2 parents 4a5985e + 56ad1d6 commit 179b061

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
Identifiers are basically the name of the variables declared in the program. Identifiers may consist of letters (Unicode), digits, underscore, and dollar signs. Most signs other than these are not allowed to be used in an identifier. Identifiers can only begin with a letter, a dollar sign, or an underscore. A identifier cannot be a JavaScript keyword (e.g. `let`, `var`, `new` etc.) and should use lowerCamelCase.
22

3-
Generally speaking, they should be as descriptive as possible and should be neither too long or too short. This will make you program more readable and human-friendly. Identifiers in JavaScript are case-sensitive, so `var sum = 0;` is different from `var SUM = 0;`. The sample program below presents examples of good identifiers and bad identifiers that will throw an error.
3+
Generally speaking, they should be as descriptive as possible and should be neither too long or too short. This will make your program more readable and human-friendly. Identifiers in JavaScript are case-sensitive, so `var sum = 0;` is different from `var SUM = 0;`. The sample program below presents examples of good identifiers and bad identifiers that will throw an error.

0 commit comments

Comments
 (0)