diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring')
| -rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring/index.html index 8d5a9d6538..bb3ec0e756 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/object/tolocalestring/index.html @@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/toLocaleString <p><code><strong>toLocaleString()</strong></code> 方法返回一个该对象的字符串表示。此方法被用于派生对象为了特定语言环境的目的(locale-specific purposes)而重载使用。</p> -<h2 id="Syntax" name="Syntax">语法</h2> +<h2 id="Syntax">语法</h2> <pre class="syntaxbox"><code><var>obj</var>.toLocaleString();</code> </pre> @@ -21,7 +21,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/toLocaleString <p>表示对象的字符串。</p> -<h2 id="Description" name="Description">描述</h2> +<h2 id="Description">描述</h2> <p>{{jsxref("Object")}} <code>toLocaleString</code> 返回调用 {{jsxref("Object.toString", "toString()")}} 的结果。</p> @@ -71,7 +71,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/toLocaleString <p>{{Compat("javascript.builtins.Object.toLocaleString")}}</p> -<h2 id="See_also" name="See_also">相关链接</h2> +<h2 id="See_also">相关链接</h2> <ul> <li>{{jsxref("Object.prototype.toString()")}}</li> |
