aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
index 1cb80b2ea8..4543e5c2b2 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
@@ -11,21 +11,21 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getSeconds
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox language-html">dateObj.getSeconds()</pre>
-<h3 id="Parameters" name="Parameters">参数</h3>
+<h3 id="Parameters">参数</h3>
<p>无</p>
-<h3 id="Description" name="Description">描述</h3>
+<h3 id="Description">描述</h3>
<p>该方法返回一个 0 到 59 的整数值。</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
-<h3 id="Example:_Using_getSeconds" name="Example:_Using_getSeconds">例子: 使用<code>getSeconds方法</code></h3>
+<h3 id="Example:_Using_getSeconds">例子: 使用<code>getSeconds方法</code></h3>
<p>下面第二条语句,基于日期对象 <code>Xmas95</code> 的值,把 30 赋值给变量 <code>secs</code>。</p>
@@ -67,7 +67,7 @@ var secs = Xmas95.getSeconds();</pre>
<p>{{Compat("javascript.builtins.Date.getSeconds")}}</p>
-<h2 id="See_Also" name="See_Also">相关链接</h2>
+<h2 id="See_Also">相关链接</h2>
<ul>
<li>{{jsxref("Date.prototype.getUTCSeconds()")}}</li>