aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html
index 27adb1a179..7ebdff046e 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getminutes/index.html
@@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getMinutes
<h2 id="Syntax">语法</h2>
-<pre class="syntaxbox language-html">dateObj.getMinutes()</pre>
+<pre class="brush: js">dateObj.getMinutes()</pre>
<h3 id="Parameters">参数</h3>
@@ -27,7 +27,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getMinutes
<p>下例中,第二行语句运行过后,变量 <code>minutes </code>的值为15,也就是说 <code>Xmas95 </code>这个日期对象的值为某时15分某秒。</p>
-<pre class="brush:js language-js">var Xmas95 = new Date("December 25, 1995 23:15:00");
+<pre class="brush:js">var Xmas95 = new Date("December 25, 1995 23:15:00");
var minutes = Xmas95.getMinutes();</pre>
<p><strong>规范</strong></p>