aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html
index f747c2696c..97a00241c7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html
@@ -11,24 +11,24 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox"><var>dateObj</var>.setMilliseconds(<em>millisecondsValue</em>)</pre>
-<h3 id="Parameters" name="Parameters">参数</h3>
+<h3 id="Parameters">参数</h3>
<dl>
<dt><code>millisecondsValue</code></dt>
<dd>一个 0 到 999 的数字,表示豪秒数。</dd>
</dl>
-<h2 id="Description" name="Description">描述</h2>
+<h2 id="Description">描述</h2>
<p>如果指定的数字超出了合理范围,则日期对象的时间信息会被相应地更新。例如,如果指定了 1005,则秒数加 1,豪秒数为 5。</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
-<h3 id="Example:_Using_setMilliseconds" name="Example:_Using_setMilliseconds">例子:使用<code>setMilliseconds</code></h3>
+<h3 id="Example:_Using_setMilliseconds">例子:使用<code>setMilliseconds</code></h3>
<pre class="brush:js">var theBigDay = new Date();
theBigDay.setMilliseconds(100);
@@ -65,7 +65,7 @@ theBigDay.setMilliseconds(100);
<p>{{Compat("javascript.builtins.Date.setMilliseconds")}}</p>
-<h2 id="See_Also" name="See_Also">相关链接</h2>
+<h2 id="See_Also">相关链接</h2>
<ul>
<li>{{jsxref("Date.prototype.getMilliseconds()")}}</li>