Skip to content

Commit efa15c0

Browse files
Update javascript.md - small change to sentence
1 parent 68475cc commit efa15c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wordpress-coding-standards/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Whitespace can easily accumulate at the end of a line – avoid this, as trailin
5151

5252
### Object Declarations
5353

54-
Object declarations can be made on a single line if they are short (remember the line length guidelines). When an object declaration is too long to fit on one line, there must be one property per line, and each line must be ended by a comma. Property names only need to be quoted if they are reserved words or contain special characters:
54+
Object declarations can be made on a single line if they are short (remember the line length guidelines). When an object declaration is too long to fit on one line, there must be one property per line and each line ended by a comma. Property names only need to be quoted if they are reserved words or contain special characters:
5555

5656
Arrays can be declared on a single line if they are short (remember the line length guidelines). When an array is too long to fit on one line, each member must be placed on its own line and each line ended by a comma.
5757

0 commit comments

Comments
 (0)