mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-02-27 09:32:01 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
</div></div>
|
||||
<p><strong><code>toSource() </code></strong>返回表示源代码的字符串。</p>
|
||||
<h2 id="语法">语法</h2>
|
||||
<pre class="syntaxbox"><var>dateObj</var>.toSource()
|
||||
Date.toSource()</pre>
|
||||
<pre><code class="language-javascript"><var>dateObj</var>.toSource()
|
||||
Date.toSource()</code></pre>
|
||||
<h3 id="返回值">返回值</h3>
|
||||
<p> 表示<a href="Reference/Global_Objects/Date" title="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 https://github.com/mdn/interactive-examples and send us a pull request."><code>Date</code></a> 源代码的字符串</p>
|
||||
<h2 id="描述">描述</h2>
|
||||
@@ -14,10 +14,10 @@ Date.toSource()</pre>
|
||||
<ul>
|
||||
<li>对于内置的<a href="Reference/Date" title="此页面仍未被本地化, 期待您的翻译!"><code>Date</code></a> 对象, <code>toSource()</code> 返回以下字符串,表示源代码不可用:
|
||||
|
||||
<pre class="brush: js">function Date() {
|
||||
<pre><code class="language-javascript">function Date() {
|
||||
[native code]
|
||||
}
|
||||
</pre>
|
||||
</code></pre>
|
||||
</li>
|
||||
<li>对于<a href="Reference/Date" title="此页面仍未被本地化, 期待您的翻译!"><code>Date</code></a>的实例, <code>toSource()</code> 返回表示该日期源代码的字符串.</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user