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

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

@@ -4,7 +4,7 @@
<div><iframe class="interactive interactive-js" frameborder="0" height="250" src="https://interactive-examples.mdn.mozilla.net/pages/js/date-utc.html" width="100%"></iframe></div>
<p class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a class="external" href="https://github.com/mdn/interactive-examples" rel="noopener">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code>Date.UTC(<em>year</em>,<em>month</em>[,<em>date</em>[,<em>hrs</em>[,<em>min</em>[,<em>sec</em>[,<em>ms</em>]]]]]) </code></pre>
<pre><code class="language-javascript"><code>Date.UTC(<em>year</em>,<em>month</em>[,<em>date</em>[,<em>hrs</em>[,<em>min</em>[,<em>sec</em>[,<em>ms</em>]]]]]) </code></code></pre>
<h2 id="Parameters" name="Parameters">参数</h2>
<dl>
<dt><code>year</code></dt>
@@ -35,8 +35,8 @@
<h2 id="Examples" name="Examples">例子</h2>
<h3 id="Example:_Using_Date.UTC" name="Example:_Using_Date.UTC">例子:使用 <code>Date.UTC</code></h3>
<p>下面的语句使用 UTC 时间代替本地时间创建了一个日期对象。</p>
<pre class="brush:js">var utcDate = new Date(Date.UTC(96, 11, 1, 0, 0, 0));
</pre>
<pre><code class="language-js">var utcDate = new Date(Date.UTC(96, 11, 1, 0, 0, 0));
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>