aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html
index e0c7b1168f..ad5bd693df 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/charcodeat/index.html
@@ -49,9 +49,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/charCodeAt
<p>向后兼容:在历史版本中(如 JavaScript 1.2),<code>charCodeAt</code> 返回一个数字,表示给定 index 处字符的 ISO-Latin-1 编码值。ISO-Latin-1 编码集范围从 <code>0</code> 到 <code>255</code>。开头的 <code>0</code> 到 <code>127</code> 直接匹配 ASCII 字符集。</p>
-<h2 id="Examples" name="Examples">示例</h2>
+<h2 id="Examples">示例</h2>
-<h3 id="Example_Using_charCodeAt" name="Example:_Using_charCodeAt">使用 <code>charCodeAt()</code></h3>
+<h3 id="Example_Using_charCodeAt">使用 <code>charCodeAt()</code></h3>
<p>下例介绍了不同索引情况下返回的 Unicode 值:</p>