语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -6,17 +6,17 @@
<h2 id="Summary" name="Summary">概述</h2>
<p>返回一个字符串,代表当前对象的源代码</p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code><var>regexObj</var>.toSource()
</code></pre>
<pre><code class="language-javascript"><code><var>regexObj</var>.toSource()
</code></code></pre>
<h2 id="Description" name="Description">描述</h2>
<p><code>toSource</code>方法返回值如下:</p>
<ul>
<li>对于内置的<code>RegExp</code>对象, <code>toSource</code> 如下字符串:</li>
</ul>
<pre class="brush: js">function RegExp() {
<pre><code class="language-javascript">function RegExp() {
[native code]
}
</pre>
</code></pre>
<ul>
<li>对于一个<code>RegExp实例</code>, <code>toSource返回代表该正则的字符串.</code></li>
</ul>