[문서] C11 충돌 해결 및 번역 진행#1858
Conversation
DevJunz
left a comment
There was a problem hiding this comment.
많은 분량인데 고생하셨습니다.
수정이 필요하다고 생각하는 부분 코멘트 남겨 놨습니다.
확인 후 다시 연락부탁드립니다!
| - `arr.includes(item, from)` -- looks for `item` starting from index `from`, returns `true` if found. | ||
|
|
||
| Usually, these methods are used with only one argument: the `item` to search. By default, the search is from the beginning. | ||
| 일반적으로 위 메서드는 검색할 `item` 하나만 인수로 전달해 호출하며, 기본적으로 검색은 배열의 0번 인덱스부터 시작합니다. |
There was a problem hiding this comment.
KIGO에서 가급적 단수형 사용을 권장하지만 본 문장에서는
명확하게 위에 나오는 2개의 메서드를 지칭하고 있어서 복수형이 더 적절하다고 생각됩니다.
| `thisArgs`에 `army`를 지정하지 않고 단순히 `users.filter(army.canJoin)`를 사용했다면 `army.canJoin`은 단독 함수처럼 취급되고, 함수 본문 내 `this`는 `undefined`가 되어 에러가 발생했을 겁니다. | ||
|
|
||
| <<<<<<< HEAD | ||
| `users.filter(user => army.canJoin(user))`를 사용하면 `users.filter(army.canJoin, army)`를 대체할 수 있긴 한데 `thisArg`를 사용하는 방식이 좀 더 이해하기 쉬우므로 더 자주 사용됩니다. |
There was a problem hiding this comment.
해석이 잘못되어있는 것 같습니다.
'thisArg'를 사용하는 방식은 users.filter(army.canJoin, army) 를 의미합니다.
원문에서 'latter' 는 users.filter(user => army.canJoin(user))를 의미하고 이 방식이 더 자주 사용되고 더 이해하기 쉽다고 합니다.
하지만 번역에서는 'thisArg'를 사용하는 방식 즉, users.filter(army.canJoin, army) 가 더 쉽다고 되어 있어서 수정이 필요해보입니다.
| 이터러블을 사용한 예시는 다음과 같습니다. | ||
|
|
||
| <<<<<<< HEAD | ||
| ```js |
| 예시: | ||
|
|
||
| <<<<<<< HEAD | ||
| ```js |
|
Please make the requested changes. After it, add a comment "/done". |
3 similar comments
|
Please make the requested changes. After it, add a comment "/done". |
|
Please make the requested changes. After it, add a comment "/done". |
|
Please make the requested changes. After it, add a comment "/done". |
요약
en저장소에서 업데이트된 내용을ko저장소로 업데이트하는 과정에서 발생한 충돌을 해결하였습니다.충돌 해결 및 번역 범
1-js/05-data-types/05-array-methods/article.md1-js/05-data-types/06-iterable/article.md1-js/05-data-types/07-map-set/03-iterable-keys/task.md1-js/05-data-types/07-map-set/article.md1-js/05-data-types/08-weakmap-weakset/01-recipients-read/solution.md1-js/05-data-types/08-weakmap-weakset/article.md1-js/05-data-types/09-keys-values-entries/article.md1-js/05-data-types/10-destructuring-assignment/article.md연관 이슈
(fix #일이삼)
Pull Request 체크리스트
TODO