Skip to content

Commit cbb125e

Browse files
youngrongohViolet-Bora-Lee
authored andcommitted
[오타수정] Part 1 8.2 함수의 prototype 프로퍼티 #1127
1 parent 51bc5ff commit cbb125e

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`로 만들어지는 새로운 객체는 또 다른 객체를 `[[Prototype]]`으로 갖게 됩니다. 다만, 기존에 있던 객체의 `[[Prototype]]`은 그대로 유지됩니다.
4747
```
4848
4949
## 함수의 prototype 프로퍼티와 constructor 프로퍼티

0 commit comments

Comments
 (0)