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

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><iframe class="interactive interactive-js" frameborder="0" height="250" src="https://interactive-examples.mdn.mozilla.net/pages/js/date-setutcminutes.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="语法">语法</h2>
<pre class="syntaxbox"><code><var>dateObj</var>.setUTCMinutes(<var>minutesValue</var>[, <var>secondsValue</var>[, <var>msValue</var>]])</code></pre>
<pre><code class="language-javascript"><code><var>dateObj</var>.setUTCMinutes(<var>minutesValue</var>[, <var>secondsValue</var>[, <var>msValue</var>]])</code></code></pre>
<h3 id="参数">参数</h3>
<dl>
<dt><code>minutesValue</code></dt>
@@ -22,9 +22,9 @@
<p>如果你传入的参数值在上文所述范围之外的话,<code><strong>setUTCMinutes()</strong></code>方法会尝试修改日期对象中的其他信息,比如说你为<code><strong>secondsValue</strong></code>这个参数传入了100译者注规定范围是[0, 59]),那么第一个参数(<code><strong>minutesValue</strong></code>就会被加1而秒数则变成了40。</p>
<h2 id="例子">例子</h2>
<h3 id="使用_setUTCMinutes()">使用 <code>setUTCMinutes()</code></h3>
<pre class="brush: js">var theBigDay = new Date();
<pre><code class="language-javascript">var theBigDay = new Date();
theBigDay.setUTCMinutes(43);
</pre>
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>