Skip to content

[문서] C02 충돌 해결 및 번역 진행#1852

Open
electrohyun wants to merge 6 commits into
javascript-tutorial:2026-en-mergefrom
electrohyun:sync-c02
Open

[문서] C02 충돌 해결 및 번역 진행#1852
electrohyun wants to merge 6 commits into
javascript-tutorial:2026-en-mergefrom
electrohyun:sync-c02

Conversation

@electrohyun
Copy link
Copy Markdown

@electrohyun electrohyun commented May 15, 2026

요약

  • upstream 동기화 과정에서 발생한 C02 담당 범위의 충돌을 작업했습니다.
  • 원문에서 삭제된 내용은 번역문에서도 제거했습니다.
  • 추가·변경된 원문은 기존 번역에 반영했습니다.
  • 이번 PR에서 작업한 파일들은 다음과 같습니다.
    • 2.4 변수와 상수 1-js/02-first-steps/04-variables/article.md
    • 2.5 자료형 1-js/02-first-steps/05-types/article.md
    • 2.6 alert, prompt, confirm을 이용한 상호작용 1-js/02-first-steps/06-alert-prompt-confirm/article.md
    • 2.7 형 변환 1-js/02-first-steps/07-type-conversions/article.md
    • 2.8 기본 연산자와 수학 1-js/02-first-steps/08-operators/3-primitive-conversions-questions/solution.md
    • 2.8 기본 연산자와 수학 1-js/02-first-steps/08-operators/4-fix-prompt/solution.md
    • 2.8 기본 연산자와 수학 1-js/02-first-steps/08-operators/article.md
    • 2.9 비교 연산자 1-js/02-first-steps/09-comparison/1-comparison-questions/solution.md
    • 2.9 비교 연산자 1-js/02-first-steps/09-comparison/article.md
  • 혹여 잘못된 부분이 있다면 피드백 부탁드립니다. 감사합니다.

연관 이슈

  • 이슈 미생성

Pull Request 체크리스트

TODO

  • 번역 규칙을 확인하셨나요?
    • 줄 바꿈과 단락을 '원문과 동일하게' 유지하셨나요?
    • 맞춤법 검사기로 맞춤법을 확인하셨나요?
    • 마크다운 문법에 사용되는 공백(스페이스), 큰따옴표("), 작은따옴표('), 대시(-), 백틱(`) 등의 특수문자는 그대로 두셨나요?
  • 로컬 서버 세팅 후 최종 결과물을 확인해 보셨나요?
  • PR 하나엔 번역문 하나만 넣으셨나요?
  • 의미 있는 커밋 메시지를 작성하셨나요?
    • 예시
      • [프락시] 번역
      • [프락시] 과제 번역
      • [if문과 조건부 연산자 '?'] 리뷰
      • [주석] 2차 리뷰
      • [Date 객체와 날짜] 번역

@javascript-translate-bot javascript-translate-bot requested review from a team May 15, 2026 11:33
@electrohyun electrohyun changed the title [충돌해결] C02 - Part 1 2.4~2.9 [문서] C12 충돌 해결 및 번역 진행 May 16, 2026
@electrohyun electrohyun changed the title [문서] C12 충돌 해결 및 번역 진행 [문서] C02 충돌 해결 및 번역 진행 May 16, 2026
정확히 말하자면, `typeof`는 함수가 아니라 연산자입니다. 여기서 괄호는 `typeof`의 일부가 아닙니다. 수학에서 식을 묶을 때 쓰는 괄호와 같은 종류의 괄호입니다.

Usually, such parentheses contain a mathematical expression, such as `(2 + 2)`, but here they contain only one argument `(x)`. Syntactically, they allow to avoid a space between the `typeof` operator and its argument, and some people like it.
보통 이런 괄호 안에는 `(2 + 2)`처럼 수식이 들어가지만, 여기서는 `(x)`처럼 인수 하나만 들어갑니다. 문법적으로는 `typeof` 연산자와 인수 사이에 공백을 쓰지 않게 해주며, 이를 선호하는 사람들도 있습니다.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

문법적으로는 typeof 연산자와 인수 사이에 공백을 쓰지 않게 해주며, 이를 선호하는 사람들도 있습니다.

이 부분 번역이 좀 이해가 잘 안되게 되어있는데요.

원문: Syntactically, they allow to avoid a space between thetypeof operator and its argument, and some people like it.

쉽게 풀이가 가능할까요?

=======
| `string` | The string is read "as is", whitespaces (includes spaces, tabs `\t`, newlines `\n` etc.) from both sides are ignored. An empty string becomes `0`. An error gives `NaN`. |
>>>>>>> upstream/master
| `string` | 전달받은 문자열을 "그대로" 읽되, 처음과 끝의 공백(스페이스, 탭 `\t`, 줄 바꿈 `\n` 등)을 무시합니다. 문자열이 비어있다면 `0`이 되고, 오류 발생 시 `NaN`이 됩니다. |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

한국어에서 강조할때쓰는 쌍따옴표와 따옴표는 용례가 다릅니다. 번역가이드를 통해 두 따옴표의 차이를 확인 후 수정부탁드립니다.


In school maths, we write that as a<sup>b</sup>.
>>>>>>> upstream/master
학교 수학에선 이를 a<sup>b</sup>로 표기합니다.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

학교 수학이라고 직역하기 보다는 '교육 과정'등으로 의역해보면 어떨까합니다. 위쪽부터 워낙 다 잘해주셔서 제안정도로 생각해주시면 좋겠습니다~


```js run
alert('1' + 2 + 2); // "122" and not "14"
alert('1' + 2 + 2); // "14"가 아니라 "122"가 출력됩니다.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

한국어에서 따옴표 vs 쌍따옴표 용례 차이 확인

```
Here, the first operand is a string, the compiler treats the other two operands as strings too. The `2` gets concatenated to `'1'`, so it's like `'1' + 2 = "12"` and `"12" + 2 = "122"`.
>>>>>>> upstream/master
첫 번째 피연산자가 문자열이므로, 컴파일러는 나머지 두 피연산자도 문자열로 취급합니다. 2가 '1'에 병합되므로, '1' + 2 = "12"가 되고 "12" + 2 = "122"가 됩니다.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

원문에 있는 백틱(`)이 누락되어있습니다.

Comment on lines -24 to -30
1. Obviously, true.
2. Dictionary comparison, hence false. `"a"` is smaller than `"p"`.
3. Again, dictionary comparison, first char `"2"` is greater than the first char `"1"`.
4. Values `null` and `undefined` equal each other only.
5. Strict equality is strict. Different types from both sides lead to false.
6. Similar to `(4)`, `null` only equals `undefined`.
7. Strict equality of different types.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

원문 변경사항이 한국어에 반영되어있지 않습니다.

  1. 원문에 있는 백틱 누락
  2. 4번의 each other only. 번역 누락
  3. 6번에서 백틱 누락
  4. 7번 변경사항 반영안됨

@electrohyun
Copy link
Copy Markdown
Author

백틱과 따옴표 관련하여 숙지가 부족했던 것 같습니다! 이번에 작성해 주신 리뷰 사항 반영한 뒤, 다시 한번 면밀히 살핀 후 재요청드리겠습니다. 늦은 시간임에도 확인해주셔서 감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants