From 682af374c3266ef04c96357b05e74ee7424d006d Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 19 Aug 2026 06:40:50 +0800 Subject: [PATCH] Fix example in rationale.md (#19889) --- docs/rationale.md | 3 ++- website/versioned_docs/version-stable/rationale.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/rationale.md b/docs/rationale.md index 9e28c68a5..5e37104ce 100644 --- a/docs/rationale.md +++ b/docs/rationale.md @@ -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: + ```js const user = { name: "John Doe", - age: 30, + age: 30 }; ``` diff --git a/website/versioned_docs/version-stable/rationale.md b/website/versioned_docs/version-stable/rationale.md index 9e28c68a5..5e37104ce 100644 --- a/website/versioned_docs/version-stable/rationale.md +++ b/website/versioned_docs/version-stable/rationale.md @@ -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: + ```js const user = { name: "John Doe", - age: 30, + age: 30 }; ```