Skip to content

Commit c0ee2c4

Browse files
wenzi0githubljharb
authored andcommitted
[guide] unquote properties in whitespace key spacing section
1 parent e4f3dd4 commit c0ee2c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2914,11 +2914,11 @@ Other Style Guides
29142914
29152915
```javascript
29162916
// bad
2917-
var obj = { "foo" : 42 };
2918-
var obj2 = { "foo":42 };
2917+
var obj = { foo : 42 };
2918+
var obj2 = { foo:42 };
29192919

29202920
// good
2921-
var obj = { "foo": 42 };
2921+
var obj = { foo: 42 };
29222922
```
29232923
29242924
<a name="whitespace--no-trailing-spaces"></a>

0 commit comments

Comments
 (0)