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

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,18 +6,18 @@
<p><code><strong>toSource()</strong></code> 方法返回代表该对象源码的字符串。</p>
<p>该方法通常由JavaScript内部调用。</p>
<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"><var>Symbol</var>.toSource()
<pre><code class="language-javascript"><var>Symbol</var>.toSource()
var sym = Symbol()
sym.toSource()</pre>
sym.toSource()</code></pre>
<h2 id="Description">Description</h2>
<p><code>toSource</code>方法返回以下值:</p>
<p>对于内建<code>Symbol对象</code>, <code>toSource</code> 返回以下字符串,表明源代码不可见:</p>
<pre class="brush:js">"function Symbol() {
<pre><code class="language-js">"function Symbol() {
[native code]
}"</pre>
}"</code></pre>
<p>对于<code>Symbol实例</code>, <code>toSource</code> 返回代表源码的字符串。</p>
<pre class="brush: js">"Symbol()"</pre>
<pre><code class="language-javascript">"Symbol()"</code></pre>
<h2 id="Specifications">Specifications</h2>
<p>还未成为任何标准的一部分</p>
<h2 id="Browser_compatibility">Browser compatibility</h2>