diff options
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.html | 6 |
1 files changed, 3 insertions, 3 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 8322a9e813..a27f4c265d 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" name="Syntax">语法</h2> -<pre class="syntaxbox language-html"><code class="language-html">dateObj.getMinutes()</code></pre> +<pre class="syntaxbox language-html">dateObj.getMinutes()</pre> <h3 id="Parameters" name="Parameters">参数</h3> @@ -27,8 +27,8 @@ 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"><code class="language-js">var Xmas95 = new Date("December 25, 1995 23:15:00"); -var minutes = Xmas95.getMinutes();</code></pre> +<pre class="brush:js language-js">var Xmas95 = new Date("December 25, 1995 23:15:00"); +var minutes = Xmas95.getMinutes();</pre> <p dir="ltr"><strong>规范</strong></p> |