Skip to content

[문서] 1-js/04-object-basics 충돌 해결 (C08)#1868

Open
jjyy0804 wants to merge 21 commits into
javascript-tutorial:2026-en-mergefrom
jjyy0804:sync-C08
Open

[문서] 1-js/04-object-basics 충돌 해결 (C08)#1868
jjyy0804 wants to merge 21 commits into
javascript-tutorial:2026-en-mergefrom
jjyy0804:sync-C08

Conversation

@jjyy0804
Copy link
Copy Markdown

@jjyy0804 jjyy0804 commented May 16, 2026

요약

1-js/04-object-basics 일부 문서에서 upstream 병합 중 남아 있던 충돌을 해결하고, 원문에는 있지만 한국어 번역에서 누락되었던 문장을 보완했습니다.

주요 변경 사항은 다음과 같습니다.

  • 01-object/article.md

    • 객체 프로퍼티 추가, 조회, 삭제 설명에서 원문 의미가 빠지지 않도록 표현을 보완했습니다.
    • const 객체 설명은 최신 원문 구조에 맞춰 02-object-copy/article.md로 이동했습니다.
  • 02-object-copy/article.md

    • 원시값 복사 과정을 설명하는 도입 문장을 추가했습니다.
    • 객체 변수가 실제 객체가 아닌 메모리 주소/참조를 저장한다는 설명을 보완했습니다.
    • const로 선언한 객체도 프로퍼티는 수정할 수 있다는 smart 블록을 최신 원문 위치에 맞춰 추가했습니다.
    • Object.assign 문법과 동작 설명을 최신 원문 기준으로 정리했습니다.
    • 스프레드 문법(clone = {...user})을 이용한 객체 복제 안내 문장을 추가했습니다.
    • structuredClone 섹션을 번역해 추가했습니다.
    • 복잡한 경우 _.cloneDeep(obj) 같은 기존 구현을 사용할 수 있다는 안내를 포함했습니다.
    • 요약 문단에 structuredClone과 얕은 복사/깊은 복사의 차이를 반영했습니다.
  • 03-garbage-collection/article.md

    • 최신 원문 흐름에 맞춰 정리했습니다.
  • 04-object-methods/7-calculator/task.md

    • read()가 입력받은 값을 각각 a, b라는 객체 프로퍼티에 저장한다는 원문 설명을 반영했습니다.
    • 예시 주석 표현을 자연스럽게 정리했습니다.
  • 04-object-methods/8-chain-calls/task.md

    • 체이닝 예시 주석을 한국어로 번역했습니다.

검증 사항:

  • 수정 대상 파일에서 충돌 마커(<<<<<<<, =======, >>>>>>>)가 남아 있지 않은 것을 확인했습니다.
  • git diff --check를 통과했습니다.

연관 이슈

(fix #일이삼)

Pull Request 체크리스트

TODO

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

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 16, 2026

CLA assistant check
All committers have signed the CLA.

@zerohyun00
Copy link
Copy Markdown

리뷰 달아뒀습니다 확인부탁드립니다!

Copy link
Copy Markdown

@zerohyun00 zerohyun00 left a comment

Choose a reason for hiding this comment

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

리뷰 달아뒀습니다 확인 부탁드립니다!

Comment thread 1-js/04-object-basics/01-object/article.md
Comment on lines -67 to -71
We may think of an object variable, such as `user`, like a sheet of paper with the address of the object on it.

When we perform actions with the object, e.g. take a property `user.name`, the JavaScript engine looks at what's at that address and performs the operation on the actual object.

Now here's why it's important.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

이 부분 번역이 누락된 것 같습니다!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

누락된 번역 수정해두었습니다 !

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

좋습니다 ㅎㅎ

```

<<<<<<< HEAD
객체를 서랍장에 비유하면 변수는 서랍장을 열 수 있는 열쇠라고 할 수 있습니다. 서랍장은 하나, 서랍장을 열 수 있는 열쇠는 두 개인데, 그중 하나(`admin`)를 사용해 서랍장을 열어 정돈한 후, 또 다른 열쇠로 서랍장을 열면 정돈된 내용을 볼 수 있습니다.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

마치 두 개의 열쇠가 있는 하나의 서랍장과 같습니다. 그중 하나의 열쇠(admin)를 사용해 서랍장을 열어 안의 내용을 변경했다고 해봅시다. 이후에 또 다른 열쇠(user)를 사용해 서랍장을 열더라도, 우리는 여전히 같은 서랍장을 여는 것이므로 변경된 내용을 확인할 수 있습니다.

위 처럼 원문과 비슷하게 user가 들어가는게 좋을 것 같습니다.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

확인 감사합니다!

원문에서도 user를 다른 열쇠로 명시하고 있으니, 말씀해주신 것처럼 admin으로 변경한 뒤 user로 확인할 수 있다는 흐름이 드러나게 수정하는 게 더 좋겠네요. 반영하겠습니다!

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

확인했습니다 ! 고생하셨어요😊

Comment on lines -127 to -129
Two objects are equal only if they are the same object.

For instance, here `a` and `b` reference the same object, thus they are equal:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

이 부분 번역 누락된 것 같습니다!

두 객체는 동일한 객체인 경우에만 동등합니다.

예를 들어, 아래 예시에서 ab는 같은 객체를 참조하므로 두 객체는 동등합니다.

이런식으로 하면 좋을 것 같아요

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

예시 관련 문장 추가 수정해두었습니다 감사합니다

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

좋아요 👍

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.

4 participants