aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html
index 5dca3e48d4..3c3e51d666 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html
@@ -3,7 +3,7 @@ title: String.prototype.lastIndexOf()
slug: Web/JavaScript/Reference/Global_Objects/String/lastIndexOf
translation_of: Web/JavaScript/Reference/Global_Objects/String/lastIndexOf
---
-<p><span style="display: none;"> </span>{{JSRef}}</p>
+<p><span class="hidden"> </span>{{JSRef}}</p>
<p> <strong><code>lastIndexOf()</code></strong> 方法返回调用{{jsxref("String")}} 对象的指定值最后一次出现的索引,在一个字符串中的指定位置 <code>fromIndex</code>处从后向前搜索。如果没找到这个特定值则返回-1 。</p>