Skip to content

Commit f15b773

Browse files
le2skyViolet-Bora-Lee
authored andcommitted
[#1220] 함수의 prototype 프로퍼티 꺽쇠에 의한 오탈자 이슈 수정
1 parent cfc4e9a commit f15b773

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/02-function-prototype

1 file changed

+1
-1
lines changed

1-js/08-prototypes/02-function-prototype/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ alert( rabbit.eats ); // true
4343
```smart header="`F.prototype``new F`를 호출할 때만 사용됩니다."
4444
`F.prototype` 프로퍼티는 `new F`를 호출할 때만 사용됩니다. `new F`를 호출할 때 만들어지는 새로운 객체의 `[[Prototype]]`을 할당해 주죠.
4545

46-
새로운 객체가 만들어진 후에 `F.prototype` 프로퍼티가 바뀌면(`F.prototype = <another object>`) `new F`를 호출해 만드는 또 다른 새로운 객체는 <another object>를 `[[Prototype]]`으로 갖게 됩니다. 다만, 기존에 있던 객체의 `[[Prototype]]`은 그대로 유지됩니다.
46+
새로운 객체가 만들어진 후에 `F.prototype` 프로퍼티가 바뀌면(`F.prototype = <another object>`) `new F`를 호출해 만드는 또 다른 새로운 객체는 another object를 `[[Prototype]]`으로 갖게 됩니다. 다만, 기존에 있던 객체의 `[[Prototype]]`은 그대로 유지됩니다.
4747
```
4848
4949
## 함수의 디폴트 프로퍼티 prototype과 constructor 프로퍼티

0 commit comments

Comments
 (0)