From 31abf0432c9b0aab27ac73e2e9321e0192bf4ee5 Mon Sep 17 00:00:00 2001 From: chens Date: Tue, 23 Jan 2024 16:18:30 +0800 Subject: [PATCH] Update blocks-as-scopes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将中午右括号)改成英文的 --- .../compilation/blocks-as-scopes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core-modules/executable-code-and-execution-contexts/compilation/blocks-as-scopes.md b/docs/core-modules/executable-code-and-execution-contexts/compilation/blocks-as-scopes.md index bbafba7b3..18b2b25ae 100644 --- a/docs/core-modules/executable-code-and-execution-contexts/compilation/blocks-as-scopes.md +++ b/docs/core-modules/executable-code-and-execution-contexts/compilation/blocks-as-scopes.md @@ -86,7 +86,7 @@ function foo() { console.log(number); } -function bar() { +function bar() { if(true) { let number = 5; console.log(number);