mirror of
https://github.com/Stone-Red-Code/naming-convention.git
synced 2026-09-09 07:56:11 +02:00
Update JavaScript Coding Conventions
fix some typos
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# JavaScript Coding Conventions
|
# JavaScript Coding Conventions
|
||||||
|
|
||||||
| Object Name | Notation | Length | Plural | Prefix | Suffix | Abbreviation | Char Mask |Underscores |
|
| Object Name | Notation | Length | Plural | Prefix | Suffix | Abbreviation | Char Mask | Underscores |
|
||||||
| ------------------------- | ---------- | ------ | ------ | ------ | ------ | ------------ | -------------------|-------------|
|
|--------------------|------------|--------|--------|--------|--------|--------------|------------|-------------|
|
||||||
| Function name | PascalCase | 50 | Yes | No | Yes | Yes | [A-z][0-9] | No |
|
| Function name | PascalCase | 50 | Yes | No | Yes | Yes | [A-z][0-9] | No |
|
||||||
| Function arguments | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
|
| Function arguments | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
|
||||||
| Local variables | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
|
| Local variables | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
|
||||||
|
|||||||
Reference in New Issue
Block a user