[문서] 1-js/04-object-basics 충돌 해결 (C08)#1868
Open
jjyy0804 wants to merge 21 commits into
Open
Conversation
|
리뷰 달아뒀습니다 확인부탁드립니다! |
zerohyun00
reviewed
May 17, 2026
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. |
| ``` | ||
|
|
||
| <<<<<<< HEAD | ||
| 객체를 서랍장에 비유하면 변수는 서랍장을 열 수 있는 열쇠라고 할 수 있습니다. 서랍장은 하나, 서랍장을 열 수 있는 열쇠는 두 개인데, 그중 하나(`admin`)를 사용해 서랍장을 열어 정돈한 후, 또 다른 열쇠로 서랍장을 열면 정돈된 내용을 볼 수 있습니다. |
There was a problem hiding this comment.
마치 두 개의 열쇠가 있는 하나의 서랍장과 같습니다. 그중 하나의 열쇠(admin)를 사용해 서랍장을 열어 안의 내용을 변경했다고 해봅시다. 이후에 또 다른 열쇠(user)를 사용해 서랍장을 열더라도, 우리는 여전히 같은 서랍장을 여는 것이므로 변경된 내용을 확인할 수 있습니다.
위 처럼 원문과 비슷하게 user가 들어가는게 좋을 것 같습니다.
Author
There was a problem hiding this comment.
확인 감사합니다!
원문에서도 user를 다른 열쇠로 명시하고 있으니, 말씀해주신 것처럼 admin으로 변경한 뒤 user로 확인할 수 있다는 흐름이 드러나게 수정하는 게 더 좋겠네요. 반영하겠습니다!
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: |
There was a problem hiding this comment.
이 부분 번역 누락된 것 같습니다!
두 객체는 동일한 객체인 경우에만 동등합니다.
예를 들어, 아래 예시에서 a와 b는 같은 객체를 참조하므로 두 객체는 동등합니다.
이런식으로 하면 좋을 것 같아요
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
1-js/04-object-basics일부 문서에서 upstream 병합 중 남아 있던 충돌을 해결하고, 원문에는 있지만 한국어 번역에서 누락되었던 문장을 보완했습니다.주요 변경 사항은 다음과 같습니다.
01-object/article.mdconst객체 설명은 최신 원문 구조에 맞춰02-object-copy/article.md로 이동했습니다.02-object-copy/article.mdconst로 선언한 객체도 프로퍼티는 수정할 수 있다는 smart 블록을 최신 원문 위치에 맞춰 추가했습니다.Object.assign문법과 동작 설명을 최신 원문 기준으로 정리했습니다.clone = {...user})을 이용한 객체 복제 안내 문장을 추가했습니다.structuredClone섹션을 번역해 추가했습니다._.cloneDeep(obj)같은 기존 구현을 사용할 수 있다는 안내를 포함했습니다.structuredClone과 얕은 복사/깊은 복사의 차이를 반영했습니다.03-garbage-collection/article.md04-object-methods/7-calculator/task.mdread()가 입력받은 값을 각각a,b라는 객체 프로퍼티에 저장한다는 원문 설명을 반영했습니다.04-object-methods/8-chain-calls/task.md검증 사항:
<<<<<<<,=======,>>>>>>>)가 남아 있지 않은 것을 확인했습니다.git diff --check를 통과했습니다.연관 이슈
(fix #일이삼)
Pull Request 체크리스트
TODO