aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
index 231cf2d7f9..40b3ac6eb5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds
<h2 id="Syntax">语法</h2>
-<pre class="syntaxbox language-html"><var>dateObj</var>.getMilliseconds()</pre>
+<pre class="brush: js"><var>dateObj</var>.getMilliseconds()</pre>
<h3 id="Parameters">参数</h3>
@@ -29,7 +29,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds
<p>下例中,将当前时间的毫秒数赋值给变量 <code>ms</code>。</p>
-<pre class="brush: js language-js">var ms;
+<pre class="brush: js">var ms;
Today = new Date();
ms = Today.getMilliseconds();</pre>