mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
10
README.md
10
README.md
@@ -1587,6 +1587,16 @@ Other Style Guides
|
||||
console.log(foo[0]);
|
||||
```
|
||||
|
||||
- [18.11](#18.11) <a name='18.11'></a> Add spaces inside curly braces.
|
||||
|
||||
```javascript
|
||||
// bad
|
||||
const foo = {clark: 'kent'};
|
||||
|
||||
// good
|
||||
const foo = { clark: 'kent' };
|
||||
```
|
||||
|
||||
**[⬆ back to top](#table-of-contents)**
|
||||
|
||||
## Commas
|
||||
|
||||
Reference in New Issue
Block a user