Skip to content

Commit

Permalink
[guide] unquote properties in whitespace key spacing section
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzi0github authored and ljharb committed Mar 31, 2020
1 parent e4f3dd4 commit c0ee2c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2914,11 +2914,11 @@ Other Style Guides

```javascript
// bad
var obj = { "foo" : 42 };
var obj2 = { "foo":42 };
var obj = { foo : 42 };
var obj2 = { foo:42 };

// good
var obj = { "foo": 42 };
var obj = { foo: 42 };
```

<a name="whitespace--no-trailing-spaces"></a>
Expand Down

0 comments on commit c0ee2c4

Please sign in to comment.