mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-15 15:20:30 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div><iframe class="interactive interactive-js" frameborder="0" height="250" src="https://interactive-examples.mdn.mozilla.net/pages/js/boolean-tostring.html" width="100%"></iframe></div>
|
||||
<p class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a class="external" href="https://github.com/mdn/interactive-examples" rel="noopener">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
|
||||
<h2 id="Syntax" name="Syntax">语法</h2>
|
||||
<pre class="syntaxbox"><var>bool</var>.toString()</pre>
|
||||
<pre><code class="language-javascript"><var>bool</var>.toString()</code></pre>
|
||||
<h3 id="返回值">返回值</h3>
|
||||
<p>表示特定<a href="Reference/Boolean" title="此页面仍未被本地化, 期待您的翻译!"><code>Boolean</code></a>对象的字符串。</p>
|
||||
<h2 id="Description" name="Description">描述</h2>
|
||||
@@ -14,9 +14,9 @@
|
||||
<h2 id="示例">示例</h2>
|
||||
<h3 id="使用_toString">使用 <code>toString</code></h3>
|
||||
<p>下面的代码,<code>flag.toString</code> 返回 "<code>true</code>":</p>
|
||||
<pre class="brush: js">var flag = new Boolean(true)
|
||||
<pre><code class="language-javascript">var flag = new Boolean(true)
|
||||
var myVar = flag.toString()
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user