From d5ee64525844c608e4e7a0418614eb8dc17ff704 Mon Sep 17 00:00:00 2001 From: Jason Lam Date: Wed, 22 Nov 2023 14:04:58 +0800 Subject: [PATCH] Apply suggestions from code review --- .../writing_style_guide/code_style_guide/javascript/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/zh-cn/mdn/writing_guidelines/writing_style_guide/code_style_guide/javascript/index.md b/files/zh-cn/mdn/writing_guidelines/writing_style_guide/code_style_guide/javascript/index.md index 412812f4d7679c..8511615d9e925d 100644 --- a/files/zh-cn/mdn/writing_guidelines/writing_style_guide/code_style_guide/javascript/index.md +++ b/files/zh-cn/mdn/writing_guidelines/writing_style_guide/code_style_guide/javascript/index.md @@ -350,7 +350,7 @@ function doIt() { - 确保你正确地定义了初始化器,对 `for...of` 使用 `const` 关键字,或对其他循环使用 `let`。注意不要遗漏。以下是正确的示例: ```js example-good - const cats = ["Athena", "Luna"]; + const cats = ["汤姆", "胖橘"]; for (const cat of cats) { console.log(cat); }