aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/new
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/new')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/new/index.html6
1 files changed, 3 insertions, 3 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 dac61b1b8c..488a6a647b 100644
--- a/files/zh-cn/web/javascript/reference/operators/new/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/new/index.html
@@ -10,7 +10,7 @@ translation_of: Web/JavaScript/Reference/Operators/new
---
<div>{{jsSidebar("Operators")}}</div>
-<p><span class="seoSummary"><strong><code>new</code> 运算符</strong>创建一个用户定义的对象类型的实例或具有构造函数的内置对象的实例。</span></p>
+<p><strong><code>new</code> 运算符</strong>创建一个用户定义的对象类型的实例或具有构造函数的内置对象的实例。</p>
<ol>
</ol>
@@ -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"><span style="background-color: rgba(220, 220, 220, 0.5);"><strong>__proto__</strong></span></font>,将该属性链接至构造函数的原型对象 ;</li>
+ <li>为步骤1新创建的对象添加属性<font face="consolas, Liberation Mono, courier, monospace"><strong>__proto__</strong></font>,将该属性链接至构造函数的原型对象 ;</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"><span style="background-color: rgba(220, 220, 220, 0.5);"><strong>constructor</strong></span></font>,参见 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);"><strong>Object.prototype.constructor</strong></span></font>)</p>
+<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>创建一个用户自定义的对象需要两步:</p>