aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitc40612041809fe289aba58aefa170bbe784aba1f (patch)
tree8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html
parent12a899ab8540bc84f56a0dc6491be80a48499d49 (diff)
downloadtranslated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html
index fcddc106e9..da28d32ca2 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getutcfullyear/index.html
@@ -11,21 +11,21 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox"><code><var>dateObj</var>.getUTCFullYear()</code></pre>
-<h3 id="Parameters" name="Parameters">参数</h3>
+<h3 id="Parameters">参数</h3>
<p>无。</p>
-<h3 id="Returns" name="Returns">返回值</h3>
+<h3 id="Returns">返回值</h3>
<p><code>getUTCFullYear()</code> 返回一个绝对数值,符合 Year-2000 标准,例如 1995。</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
-<h3 id="Example:_Using_getUTCFullYear" name="Example:_Using_getUTCFullYear">例子: 使用 <code>getUTCFullYear()</code> 方法</h3>
+<h3 id="Example:_Using_getUTCFullYear">例子: 使用 <code>getUTCFullYear()</code> 方法</h3>
<p>下面的例子是把当前年份的四位数值复制给变量 <code>year</code>。</p>
@@ -66,7 +66,7 @@ var year = today.getUTCFullYear();
<p>{{Compat("javascript.builtins.Date.getUTCFullYear")}}</p>
</div>
-<h2 id="See_also" name="See_also">相关链接</h2>
+<h2 id="See_also">相关链接</h2>
<ul>
<li>{{jsxref("Date.prototype.getFullYear()")}}</li>