aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html
index 48718fcb13..655126befb 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/trimstart/index.html
@@ -45,7 +45,7 @@ original_slug: Web/JavaScript/Reference/Global_Objects/String/TrimLeft
<p>下面的例子输出了小写的字符串 <code>"foo  "</code>:</p>
-<pre class="brush:js;highlight:[5]">var str = " foo ";
+<pre class="brush:js">var str = " foo ";
console.log(str.length); // 8