aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:14:18 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitd44f5032d0f53256b2d5aef505d6b593fd3cd158 (patch)
tree4b585f4be9c9a2712664ad10e7acf62c83fff51f /files/zh-cn/web/javascript/reference/global_objects/date/getseconds/index.html
parentf45e9e070c93ebbd83d488bdd775987a4d75c201 (diff)
downloadtranslated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.gz
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.bz2
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.zip
fix yari h2m dry run errors (zh-CN)
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.html8
1 files changed, 2 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 4543e5c2b2..dbd4590d22 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
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getSeconds
<h2 id="Syntax">语法</h2>
-<pre class="syntaxbox language-html">dateObj.getSeconds()</pre>
+<pre class="brush: js">dateObj.getSeconds()</pre>
<h3 id="Parameters">参数</h3>
@@ -29,13 +29,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getSeconds
<p>下面第二条语句,基于日期对象 <code>Xmas95</code> 的值,把 30 赋值给变量 <code>secs</code>。</p>
-<pre class="brush:js language-js">var Xmas95 = new Date("December 25, 1995 23:15:30");
+<pre class="brush:js">var Xmas95 = new Date("December 25, 1995 23:15:30");
var secs = Xmas95.getSeconds();</pre>
-<div class="line-number"> </div>
-
-<div class="line-number"> </div>
-
<h2 id="规范">规范</h2>
<table class="standard-table">