diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/indexof')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html | 2 |
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 28f9d9a5fc..40fceeeadd 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 @@ -84,7 +84,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/indexOf <h2 id="示例">示例</h2> -<h3 id="Example_Using_indexOf_and_lastIndexOf" name="Example:_Using_indexOf_and_lastIndexOf">使用<code>indexOf()</code> 和 <code>lastIndexOf()</code></h3> +<h3 id="Example_Using_indexOf_and_lastIndexOf">使用<code>indexOf()</code> 和 <code>lastIndexOf()</code></h3> <p>下例使用 <code>indexOf()</code> 和 <code>lastIndexOf()</code> 方法定位字符串中 "<code>Brave new world</code>" 的值。</p> |