Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 1-js/05-data-types/11-date/3-weekday/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ importance: 5
유럽국가의 달력은 월요일부터 시작합니다(월요일-1, 화요일-2, ... 일요일-7). '유럽' 기준 숫자를 반환해주는 함수 `getLocalDay(date)`를 만들어보세요.

```js no-beautify
let date = new Date(2019, 11, 5); // 2019년 11월 5일
alert( getLocalDay(date) ); // 금요일이므로, 5가 출력되어야 함
```
let date = new Date(2019, 11, 5); // 2019년 12월 5일
alert( getLocalDay(date) ); // 목요일이므로, 4가 출력되어야 함
```