aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
index 38b9c01c94..729e537627 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
@@ -15,9 +15,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
<h2 id="Syntax" name="Syntax">语法</h2>
-<pre class="syntaxbox"><font face="consolas, Liberation Mono, courier, monospace">arr.toLocaleString([locales[,options]]);</font></pre>
+<pre class="syntaxbox"><code>arr.toLocaleString([locales[,options]]);</code></pre>
-<h3 id="参数"><font face="consolas, Liberation Mono, courier, monospace">参数</font></h3>
+<h3 id="参数">参数</h3>
<dl>
<dt><code>locales</code> {{optional_inline}}</dt>
@@ -26,7 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
<dd>一个可配置属性的对象,对于数字 {{jsxref("Number.prototype.toLocaleString()")}},对于日期{{jsxref("Date.prototype.toLocaleString()")}}.</dd>
</dl>
-<h3 id="返回值"><font face="consolas, Liberation Mono, courier, monospace">返回值</font></h3>
+<h3 id="返回值">返回值</h3>
<p>表示数组元素的字符串。</p>