diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:08:24 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch) | |
tree | fcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/operators/new/index.html | |
parent | a2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff) | |
download | translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2 translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip |
remove font tag in zh-CN
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.html | 4 |
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> |