aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorTakeshiZ <380311869@qq.com>2021-12-16 15:18:30 +0800
committerIrvin <irvinfly@gmail.com>2021-12-21 21:06:18 +0800
commitc1e3afe1841ba745523c226a2b7153043947642b (patch)
tree181f7d40901c21291019bd7b269ea898d0f3a9b6 /files
parent070c8ebbb2b70a8bc7002fe0fab59ac4449bd9c2 (diff)
downloadtranslated-content-c1e3afe1841ba745523c226a2b7153043947642b.tar.gz
translated-content-c1e3afe1841ba745523c226a2b7153043947642b.tar.bz2
translated-content-c1e3afe1841ba745523c226a2b7153043947642b.zip
Update index.html
The former translation seems to be not correct : )
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/inheritance_and_the_prototype_chain/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/inheritance_and_the_prototype_chain/index.html b/files/zh-cn/web/javascript/inheritance_and_the_prototype_chain/index.html
index 17d56dd7f6..b83c68af65 100644
--- a/files/zh-cn/web/javascript/inheritance_and_the_prototype_chain/index.html
+++ b/files/zh-cn/web/javascript/inheritance_and_the_prototype_chain/index.html
@@ -88,7 +88,7 @@ console.log(o.d); // undefined
<p>代码来源链接:<a href="https://repl.it/@khaled_hossain_code/prototype">https://repl.it/@khaled_hossain_code/prototype</a></p>
-<p>给对象设置属性会创建自有属性。获取和设置属性的唯一限制是内置 <a href="/zh-CN/docs/Web/JavaScript/Guide/Working_with_Objects#Defining_getters_and_setters">getter 或 setter</a> 的属性。</p>
+<p>给对象设置属性会创建自有属性。获取和设置行为规则的唯一例外是当继承的属性带有 <a href="/zh-CN/docs/Web/JavaScript/Guide/Working_with_Objects#Defining_getters_and_setters">getter 或 setter</a> 时。</p>
<h3 id="继承方法">继承方法</h3>