From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../reference/global_objects/date/setmilliseconds/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds') diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html index f747c2696c..97a00241c7 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/date/setmilliseconds/index.html @@ -11,24 +11,24 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds -

语法

+

语法

dateObj.setMilliseconds(millisecondsValue)
-

参数

+

参数

millisecondsValue
一个 0 到 999 的数字,表示豪秒数。
-

描述

+

描述

如果指定的数字超出了合理范围,则日期对象的时间信息会被相应地更新。例如,如果指定了 1005,则秒数加 1,豪秒数为 5。

-

例子

+

例子

-

例子:使用setMilliseconds

+

例子:使用setMilliseconds

var theBigDay = new Date();
 theBigDay.setMilliseconds(100);
@@ -65,7 +65,7 @@ theBigDay.setMilliseconds(100);
 
 

{{Compat("javascript.builtins.Date.setMilliseconds")}}

-

相关链接

+

相关链接