Fix example in rationale.md (#19889)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-08-19 06:40:50 +08:00
1 parent 91ee328608
commit 682af374c3
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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:
<!-- prettier-ignore -->
```js
const user = {
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:
<!-- prettier-ignore -->
```js
const user = {
name: "John Doe",
age: 30,
age: 30
};
```