diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/functions/set/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/functions/set/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/functions/set/index.html b/files/zh-cn/web/javascript/reference/functions/set/index.html index 2623cf4781..ce864843d1 100644 --- a/files/zh-cn/web/javascript/reference/functions/set/index.html +++ b/files/zh-cn/web/javascript/reference/functions/set/index.html @@ -53,7 +53,7 @@ translation_of: Web/JavaScript/Reference/Functions/set <h3 id="Example_Defining_a_getter_with_the_get_operator" name="Example:_Defining_a_getter_with_the_get_operator">在对象初始化时定义 setter</h3> -<p>这将定义一个对象 <code><font face="consolas, Liberation Mono, courier, monospace">language</font></code> 的伪属性<code>current</code>,当<code>current</code>被分配一个值时,将使用该值更新<code>log</code>:</p> +<p>这将定义一个对象 <code>language</code> 的伪属性<code>current</code>,当<code>current</code>被分配一个值时,将使用该值更新<code>log</code>:</p> <pre class="brush: js">const language = { set current(name) { |