aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/errors/getter_only/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/errors/getter_only/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/errors/getter_only/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/errors/getter_only/index.html b/files/zh-cn/web/javascript/reference/errors/getter_only/index.html
index 0636f30eea..0beef8d006 100644
--- a/files/zh-cn/web/javascript/reference/errors/getter_only/index.html
+++ b/files/zh-cn/web/javascript/reference/errors/getter_only/index.html
@@ -48,7 +48,7 @@ arc.temperature = 30;
<p>至于修复问题的方法,可以将第 16 行的代码移除,因为它试图为 temperature 属性赋值,或者是为它添加一个 <a href="/en-US/docs/Web/JavaScript/Reference/Functions/set">setter</a> 特性,就像下面这样:</p>
-<pre class="brush: js example-good highlight[12]">"use strict";
+<pre class="brush: js example-good">"use strict";
function Archiver() {
var temperature = null;