Skip to content

Commit e951356

Browse files
committed
Update JavaScript Name and Coding Conventions
some style correction
1 parent cb00830 commit e951356

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

JavaScript Name and Coding Conventions

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Constants name | PascalCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
99
| Field name | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
1010

11-
***
11+
1212
Coding conventions are style guidelines for programming. They typically cover:
1313

1414
1. Naming and declaration rules for variables and functions.
@@ -32,9 +32,11 @@ Always use the same naming convention for all your code. For example:
3232

3333
Do use PascalCasing for function names:
3434

35+
```javascript
3536
function HelloWorld()
3637
{
3738
}
39+
```
3840

3941
Do use camelCasing for function arguments and local variables:
4042

0 commit comments

Comments
 (0)