From d8cbf8dfa815364ea0e85372a1ef5c47bb811c7f Mon Sep 17 00:00:00 2001 From: moqimoqidea <39821951+moqimoqidea@users.noreply.github.com> Date: Sun, 27 Feb 2022 18:41:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20typo:=20=E4=B8=BA=20->=20=E5=8D=B3?= =?UTF-8?q?=E4=BD=BF=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-js/08-prototypes/04-prototype-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/08-prototypes/04-prototype-methods/article.md b/1-js/08-prototypes/04-prototype-methods/article.md index c9cdfbb613..6665379380 100644 --- a/1-js/08-prototypes/04-prototype-methods/article.md +++ b/1-js/08-prototypes/04-prototype-methods/article.md @@ -111,7 +111,7 @@ alert(obj[key]); // [object Object],并不是 "some value"! 最可怕的是 —— 通常开发者完全不会考虑到这一点。这让此类 bug 很难被发现,甚至变成漏洞,尤其是在 JavaScript 被用在服务端的时候。 -为默认情况下为函数的 `toString` 以及其他内建方法执行赋值操作,也会出现意想不到的结果。 +即使在默认情况下为函数的 `toString` 以及其他内建方法执行赋值操作,也会出现意想不到的结果。 我们怎么避免这样的问题呢? From ca877ccd10969f5927cfd9b65a90113fd0866c0c Mon Sep 17 00:00:00 2001 From: LeviDing Date: Sun, 6 Mar 2022 20:38:10 +0800 Subject: [PATCH 2/2] Update article.md --- 1-js/08-prototypes/04-prototype-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/08-prototypes/04-prototype-methods/article.md b/1-js/08-prototypes/04-prototype-methods/article.md index 6665379380..b372d27040 100644 --- a/1-js/08-prototypes/04-prototype-methods/article.md +++ b/1-js/08-prototypes/04-prototype-methods/article.md @@ -111,7 +111,7 @@ alert(obj[key]); // [object Object],并不是 "some value"! 最可怕的是 —— 通常开发者完全不会考虑到这一点。这让此类 bug 很难被发现,甚至变成漏洞,尤其是在 JavaScript 被用在服务端的时候。 -即使在默认情况下为函数的 `toString` 以及其他内建方法执行赋值操作,也会出现意想不到的结果。 +即使对在默认情况下为函数的 `toString` 以及其他内建方法执行赋值操作,也会出现意想不到的结果。 我们怎么避免这样的问题呢?