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/global_objects/set | |
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/global_objects/set')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html index cd1bf7f82c..3b8dacfefc 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html @@ -18,13 +18,13 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/forEach <dd>为集合中每个元素执行的回调函数,该函数接收三个参数:</dd> <dd> <dl> - <dt><strong><font face="consolas, Liberation Mono, courier, monospace">currentValue, </font></strong><strong><font face="consolas, Liberation Mono, courier, monospace">currentKey{{optional_inline}}</font></strong></dt> + <dt><strong><code>currentValue</code>, </strong><strong><code>currentKey{{optional_inline}}</code></strong></dt> <dd><strong>currentValue</strong> 是正在被操作的元素。并且由于集合没有索引,所以 <strong>currentKey</strong> 也表示这个正在被操作的元素。</dd> - <dt><strong><font face="consolas, Liberation Mono, courier, monospace">set{{optional_inline}}</font></strong></dt> + <dt><strong><code>set{{optional_inline}}</code></strong></dt> <dd>调用当前 <code>forEach</code> 方法的集合对象</dd> </dl> </dd> - <dt><code>thisArg</code><strong><font face="consolas, Liberation Mono, courier, monospace">{{optional_inline}}</font></strong></dt> + <dt><code>thisArg</code><strong><code>{{optional_inline}}</code></strong></dt> <dd>回调函数执行过程中的 <code>this</code> 值。</dd> </dl> |