aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
index 80213be40f..28f9d9a5fc 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
@@ -69,7 +69,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/indexOf
"Blue Whale".indexOf("", 10) // 返回 10
"Blue Whale".indexOf("", 11) // 返回 10</pre>
-<p id="Example_indexOf_and_case-sensitivity"><code>indexOf</code> 方法是区分大小写的。例如,下面的表达式将返回 <code>-1</code>:</p>
+<p><code>indexOf</code> 方法是区分大小写的。例如,下面的表达式将返回 <code>-1</code>:</p>
<pre class="brush: js">"Blue Whale".indexOf("blue") // 返回 -1
</pre>