Fix example in rationale.md (#19889)
This commit is contained in:
1 parent
91ee328608
commit
682af374c3
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -35,10 +35,11 @@ You can disable this conditional behavior with the [`objectWrap`](options.md#obj
|
|||||||
|
|
||||||
**Tip:** If you have a multi-line object that you’d like to join up into a single line:
|
**Tip:** If you have a multi-line object that you’d like to join up into a single line:
|
||||||
|
|
||||||
|
<!-- prettier-ignore -->
|
||||||
```js
|
```js
|
||||||
const user = {
|
const user = {
|
||||||
name: "John Doe",
|
name: "John Doe",
|
||||||
age: 30,
|
age: 30
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -35,10 +35,11 @@ You can disable this conditional behavior with the [`objectWrap`](options.md#obj
|
|||||||
|
|
||||||
**Tip:** If you have a multi-line object that you’d like to join up into a single line:
|
**Tip:** If you have a multi-line object that you’d like to join up into a single line:
|
||||||
|
|
||||||
|
<!-- prettier-ignore -->
|
||||||
```js
|
```js
|
||||||
const user = {
|
const user = {
|
||||||
name: "John Doe",
|
name: "John Doe",
|
||||||
age: 30,
|
age: 30
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user