Skip to content

Commit 8d07cac

Browse files
Update 常見對象 - Date.md
1 parent 37f3a51 commit 8d07cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/常見對象 - Date.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 常見對象 - Date
22

33
## 演示
4-
```
4+
```javascript
55
//out.js
66
/**
77
* 打印指定參數到頁面上
@@ -73,7 +73,7 @@ with(對象)
7373
{
7474
在該區域中可以直接使用指定的對象內容,不需要對象。
7575
}
76-
```
76+
```javascript
7777
// var year = date.getFullYear();
7878
// var month = date.getMonth() + 1;
7979
// var day = date.getDate();

0 commit comments

Comments
 (0)