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

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></div>
<p>The <code><strong>setYear()</strong></code> method sets the year for a specified date according to local time. Because <code>setYear</code> does not set full years ("year 2000 problem"), it is no longer used and has been replaced by the <a href="Reference/Global_Objects/Date/setFullYear" title="setFullYear() 方法根据本地时间为一个日期对象设置年份。"><code>setFullYear</code></a> method.</p>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="syntaxbox"><var>dateObj</var>.setYear(<em>yearValue</em>)</pre>
<pre><code class="language-javascript"><var>dateObj</var>.setYear(<em>yearValue</em>)</code></pre>
<h3 id="Parameters" name="Parameters">Parameters</h3>
<dl>
<dt><code>yearValue</code></dt>
@@ -20,7 +20,7 @@
theBigDay.setYear(96);
theBigDay.setYear(1996);
theBigDay.setYear(2000);
</pre>
</code></pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<tbody>