diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html index 9a2d97f935..e2b061d1a3 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html @@ -105,7 +105,7 @@ replaceString("World", "Web", "Brave New World");</pre> return fullS.split(oldS).join(newS); }</pre> -<p><span style="line-height: 1.5;">上面的代码只是子字符串操作的一个例子。如果你需要替换子字符串,更多时候会用到 </span><span style="line-height: 1.5em;">{{jsxref("String.prototype.replace()")}}。</span></p> +<p>上面的代码只是子字符串操作的一个例子。如果你需要替换子字符串,更多时候会用到 {{jsxref("String.prototype.replace()")}}。</p> <h2 id="规范">规范</h2> |