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

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 @@
<h2 id="Summary" name="Summary">概述</h2>
<p><code><strong>Math.log2()</strong></code> 函数返回一个数字以 2 为底的对数.</p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code>Math.log2(<em>x</em>)</code></pre>
<pre><code class="language-javascript"><code>Math.log2(<em>x</em>)</code></code></pre>
<h3 id="Parameters" name="Parameters">参数</h3>
<dl>
<dt><code>x</code></dt>
@@ -14,14 +14,14 @@
<h2 id="Description" name="Description">描述</h2>
<p>如果传入的参数小于 0, 则返回 <code>NaN</code>.</p>
<h2 id="Examples" name="Examples">示例</h2>
<pre class="brush:js">Math.log2(2) // 1
<pre><code class="language-js">Math.log2(2) // 1
Math.log2(1024) // 10
Math.log2(1) // 0
Math.log2(0) // -Infinity
Math.log2(-2) // NaN
Math.log2("1024")// 10
Math.log2("foo") // NaN
</pre>
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>