diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html index f556822b2e..7db9f1e146 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html @@ -13,22 +13,22 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase <p><code><strong>toLowerCase()</strong></code> 会将调用该方法的字符串值转为小写形式,并返回。</p> -<h2 id="语法" style="margin-bottom: 20px; line-height: 30px;">语法</h2> +<h2 id="语法">语法</h2> -<pre class="syntaxbox language-html" style="margin-bottom: 0px; padding: 1em; border-left-width: 6px; border-left-style: solid; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 14px; direction: ltr; white-space: normal; text-shadow: none; background-color: rgba(212, 221, 228, 0.498039);"><code class="language-html" style="font-family: Consolas, Monaco, 'Andale Mono', monospace; direction: ltr; color: inherit; text-shadow: none;">str.toLowerCase()</code> +<pre class="syntaxbox language-html"><code class="language-html">str.toLowerCase()</code> </pre> <h3 id="返回值">返回值</h3> <p>一个新的字符串,表示转换为小写的调用字符串。</p> -<h2 id="描述" style="margin-bottom: 20px; line-height: 30px;">描述</h2> +<h2 id="描述">描述</h2> <p><code>toLowerCase</code> 会将调用该方法的字符串值转为小写形式,并返回。<code>toLowerCase</code> 不会影响字符串本身的值。</p> -<h2 id="示例" style="margin-bottom: 20px; line-height: 30px;">示例</h2> +<h2 id="示例">示例</h2> -<h3 id="例子:使用_toLowerCase" style="line-height: 24px;">例子:使用 <code>toLowerCase()</code></h3> +<h3 id="例子:使用_toLowerCase">例子:使用 <code>toLowerCase()</code></h3> <pre class="brush: js">console.log('中文简体 zh-CN || zh-Hans'.toLowerCase()); // 中文简体 zh-cn || zh-hans @@ -36,7 +36,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase console.log( "ALPHABET".toLowerCase() ); // "alphabet"</pre> -<div class="line-number" style="margin-top: 1em; position: absolute; left: 0px; right: 0px; line-height: inherit; top: 0px; background: 0px 0px;"></div> +<div class="line-number"></div> <p><strong>说明</strong></p> |