Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 00_.md #29

Merged
merged 1 commit into from
Mar 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
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.

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.
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.