From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- files/zh-cn/web/javascript/reference/errors/getter_only/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/javascript/reference/errors/getter_only/index.html') 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;

至于修复问题的方法,可以将第 16 行的代码移除,因为它试图为 temperature 属性赋值,或者是为它添加一个 setter 特性,就像下面这样:

-
"use strict";
+
"use strict";
 
 function Archiver() {
   var temperature = null;
-- 
cgit v1.2.3-54-g00ecf