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

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

@@ -3,7 +3,7 @@
<h2 id="Summary" name="Summary">概述</h2>
<p><code><strong>Math.pow()</strong></code> 函数返回基数(<code>base</code>)的指数(<code>exponent</code>)次幂<code>,即</code><span style="line-height: 1.572;"> </span><code style="font-size: 14px;">base<sup>exponent</sup></code><span style="line-height: 1.572;"></span></p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code>Math.pow(<em>base</em>, <em>exponent</em>) </code></pre>
<pre><code class="language-javascript"><code>Math.pow(<em>base</em>, <em>exponent</em>) </code></code></pre>
<h3 id="Parameters" name="Parameters">参数</h3>
<dl>
<dt><code>base</code></dt>
@@ -15,9 +15,9 @@
<p>由于 <code>pow</code> 是 <code>Math</code> 的静态方法,所以应该像这样使用:<code>Math.pow()</code>,而不是作为你创建的 <code>Math</code> 对象的方法。</p>
<h2 id="Examples" name="Examples">示例</h2>
<h3 id="Example:_Using_Math.pow" name="Example:_Using_Math.pow">例子:使用 <code>Math.pow</code></h3>
<pre class="brush:js">function raisePower(x,y) {
<pre><code class="language-js">function raisePower(x,y) {
return Math.pow(x,y)
}</pre>
}</code></pre>
<p>如果 <code>x</code> 是 2 ,且 <code>y</code> 是 7则 raisePower 函数返回 128 2 的 7 次幂)。</p>
<h2 id="规范">规范</h2>
<table class="standard-table">