mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-15 23:37:25 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<div></div>
|
||||
<p><code><strong>toUpperCase()</strong></code> 将调用该方法的字符串值转换为大写形式,并返回。</p>
|
||||
<h2 id="语法" style="margin-bottom: 20px; line-height: 30px;">语法</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.toUpperCase()</code></pre>
|
||||
<pre><code class="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.toUpperCase()</code></code></pre>
|
||||
<h2 id="描述" style="margin-bottom: 20px; line-height: 30px;">描述</h2>
|
||||
<p><code>toUpperCase</code> 将调用该方法的字符串值转换为大写形式,并返回。<code>toUpperCase</code> 方法不影响字符串本身的值。</p>
|
||||
<h2 id="示例" style="margin-bottom: 20px; line-height: 30px;">示例</h2>
|
||||
<h3 id="例子:使用_toUpperCase" style="line-height: 24px;">例子:使用 <code>toUpperCase</code></h3>
|
||||
<pre class="brush: js">console.log( "alphabet".toUpperCase() ); // "ALPHABET"</pre>
|
||||
<pre><code class="language-javascript">console.log( "alphabet".toUpperCase() ); // "ALPHABET"</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user