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

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

@@ -5,7 +5,7 @@
</div></div>
<p><code><strong>uneval()</strong></code> 函数创建一个代表对象的源代码的字符串。</p>
<h2 id="语法">语法</h2>
<pre class="syntaxbox">uneval(<var>object</var>)</pre>
<pre><code class="language-javascript">uneval(<var>object</var>)</code></pre>
<h3 id="参数">参数</h3>
<dl>
<dt><code>object</code></dt>
@@ -19,7 +19,7 @@
<h2 id="描述">描述</h2>
<p><code>uneval()</code> 是一个顶级函数并且不与任何对象关联</p>
<h2 id="实例">实例</h2>
<pre class="brush:js">var a = 1;
<pre><code class="language-js">var a = 1;
uneval(a); // returns a String containing 1
var b = "1";
@@ -31,7 +31,7 @@ uneval(function foo(){}); // returns "(function foo(){})"
var a = uneval(function foo(){return 'hi'});
var foo = eval(a);
foo(); // returns "hi"
</pre>
</code></pre>
<h2 id="规范">规范</h2>
<p>不属于任何规范的一部分。</p>
<h2 id="浏览器兼容">浏览器兼容</h2>