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

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,8 +3,8 @@
<h2 id="Summary" name="Summary">概述</h2>
<p><strong><code>Number.parseInt()</code></strong> 方法可以根据给定的进制数把一个字符串解析成整数。</p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code>Number.parseInt(<var>string</var>[, <var>radix</var>])</code>
</pre>
<pre><code class="language-javascript"><code>Number.parseInt(<var>string</var>[, <var>radix</var>])</code>
</code></pre>
<p> </p>
<pre><code>// radix为指定基数说明字符串为多少进制的数字表示。</code>
@@ -14,16 +14,16 @@
<code>console.log(Number.parseInt(strObj, 10)); // 110</code>
<code></code>
</pre>
</code></pre>
<p> </p>
<h3 id="Parameters" name="Parameters">参数</h3>
<div></div>
<h2 id="描述">描述</h2>
<p>该方法和全局的 <a href="Reference/Global_Objects/parseInt" title="parseInt() 函数解析一个字符串参数,并返回一个指定基数的整数 (数学系统的基础)。"><code>parseInt()</code></a> 函数是同一个函数:</p>
<pre class="brush: js">Number.parseInt === parseInt; // true</pre>
<pre><code class="language-javascript">Number.parseInt === parseInt; // true</code></pre>
<p>请移步全局函数 <a href="Reference/Global_Objects/parseInt" title="parseInt() 函数解析一个字符串参数,并返回一个指定基数的整数 (数学系统的基础)。"><code>parseInt()</code></a> 页面查看更多的解释和示例。</p>
<h2 id="Polyfill" name="Polyfill">Polyfill</h2>
<pre class="brush: js">Number.parseInt = parseInt;</pre>
<pre><code class="language-javascript">Number.parseInt = parseInt;</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>