Skip to content

Commit ae4d97f

Browse files
boyeonihnViolet-Bora-Lee
authored andcommitted
6.2 나머지 매개변수와 전개 문법 중 <arguments 객체> 오타 (#1493)
1 parent fd1ed9a commit ae4d97f

File tree

1 file changed

+2
-2
lines changed
  • 1-js/06-advanced-functions/02-rest-parameters-spread

1 file changed

+2
-2
lines changed

1-js/06-advanced-functions/02-rest-parameters-spread/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function f(arg1, ...rest, arg2) { // ...rest 후에 arg2가 있으면 안 됩니
7575

7676
## arguments 객체
7777

78-
유사 배열 객체(array-like object)인 `arguemnts`를 사용하면 인덱스를 사용해 인수에 접근할 수 있습니다.
78+
유사 배열 객체(array-like object)인 `arguments`를 사용하면 인덱스를 사용해 인수에 접근할 수 있습니다.
7979

8080
예시:
8181

@@ -227,7 +227,7 @@ alert( Array.from(str) ); // H,e,l,l,o
227227
228228
## 배열과 객체의 복사본 만들기
229229
230-
`Object.assign()` [참조에 의한 객체 복사](info:object-copy#cloning-and-merging-object-assign) 챕터에서 `Object.assign()`을 사용해 객체를 복사한 예시를 떠올려봅시다.
230+
[참조에 의한 객체 복사](info:object-copy#cloning-and-merging-object-assign) 챕터에서 `Object.assign()`을 사용해 객체를 복사한 예시를 떠올려봅시다.
231231
232232
`Object.assign()` 말고도 스프레드 문법을 사용하면 배열과 객체를 복사할 수 있습니다.
233233

0 commit comments

Comments
 (0)