aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/new/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/new/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/new/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/new/index.html b/files/zh-cn/web/javascript/reference/operators/new/index.html
index 488a6a647b..0b2d5c24c7 100644
--- a/files/zh-cn/web/javascript/reference/operators/new/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/new/index.html
@@ -39,12 +39,12 @@ translation_of: Web/JavaScript/Reference/Operators/new
<ol>
<li>创建一个空的简单JavaScript对象(即<code><strong>{}</strong></code>);</li>
- <li>为步骤1新创建的对象添加属性<font face="consolas, Liberation Mono, courier, monospace"><strong>__proto__</strong></font>,将该属性链接至构造函数的原型对象 ;</li>
+ <li>为步骤1新创建的对象添加属性<code><strong>__proto__</strong></code>,将该属性链接至构造函数的原型对象 ;</li>
<li>将步骤1新创建的对象作为<code><strong>this</strong></code>的上下文 ;</li>
<li>如果该函数没有返回对象,则返回<code><strong>this</strong></code>。</li>
</ol>
-<p>(译注:关于对象的 <font face="consolas, Liberation Mono, courier, monospace"><strong>constructor</strong></font>,参见 <font face="consolas, Liberation Mono, courier, monospace"><strong>Object.prototype.constructor</strong></font>)</p>
+<p>(译注:关于对象的 <code><strong>constructor</strong></code>,参见 <code><strong>Object.prototype.constructor</strong></code>)</p>
<p>创建一个用户自定义的对象需要两步:</p>