javascript-tutorial / javascript-tutorial/ko.javascript.info

[오번역수정] Part 1 5.11 Date 객체와 날짜 과제3 예시

Open
#1,293 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
2k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

오번역

Part 1 5.11 Date 객체와 날짜 과제3 '유럽 기준 달력' (영어 버전)
image

번역

대안

  1. 원문의 예시와 동일하게 수정
let date = new Date(2012, 0, 3);  // 2012년 1월 3일
alert( getLocalDay(date) );       // 화요일이므로, 2가 출력되어야 함
  1. 2019년 11월 5일에 맞게 매개변수와 주석을 수정 (월은 0부터 시작하므로 두 번째 매개변수는 11이 아닌 10이어야 합니다.)
let date = new Date(2019, 10, 5);  // 2019년 11월 5일
alert( getLocalDay(date) );       // 화요일이므로, 2가 출력되어야 함

이슈

번역된 예시(2019년 11월 5일)의 결과(금요일이므로, 5가 출력되어야 함)가 해답의 함수 실행 결과(4)와 일치하지 않습니다. 위의 두 가지 대안 모두 적절하기 때문에 한 가지를 택해 주시면 될 것 같습니다 :)

Pull Request(PR)를 통해 수정할 의향이 있습니까?

넵!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Korean Date article at Part 1 5.11 and compare the “European weekday” exercise with the linked English version. Check the example date, zero-based month value, comments, and expected result; the work is done when the example and solution output agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.