Skip to content

Commit 849edf9

Browse files
Add heading, [fix] exchange 'string' for 'variable'
1 parent b03846c commit 849edf9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

manual/en-US/coding-standards/chapters/javascript.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
## JavaScript
2+
13
## Naming Conventions
24

35
Use descriptive words or terse phrases for names.
46

57
Variables and Functions should be camel case, starting with a lowercase letter: `likeThis`
68

7-
### Strings
9+
### Variables
810

9-
**Use names that describe what the string is:**
11+
**Use names that describe what the variable is:**
1012

1113
`var element = document.getElementById('elementId');`
1214

0 commit comments

Comments
 (0)