-
Notifications
You must be signed in to change notification settings - Fork 846
[재작업 완료] #85 Class inheritance & #177 Curring PR #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[재작업 완료] #85 Class inheritance & #177 Curring PR #266
Conversation
마스터라 110번 (Curring 완료부분) 따라갔네요. PR 하기로 완료된부분입니다. |
|
||
In our case, for `class Rabbit extends Object` it means: | ||
예제의 경우에는, `class Rabbit extends Object` 가 뜻하는 것은 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
예제의 경우에는, `class Rabbit extends Object` 가 뜻하는 것은 | |
예제의 경우에는, `class Rabbit extends Object` 가 뜻하는 것은 아래와 같습니다. |
는 어떤가요?
|
||
```js run | ||
class Rabbit {} | ||
|
||
alert( Rabbit.prototype.__proto__ === Object.prototype ); // (1) true | ||
alert( Rabbit.__proto__ === Object ); // (2) false (!) | ||
alert( Rabbit.__proto__ === Function.prototype ); // as any function by default | ||
alert( Rabbit.__proto__ === Function.prototype ); // 어떠한 함수든 기본으로 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
의미가 잘 전달되지 않는 것 같습니다. 조금 더 풀어서 설명해 주시면 좋을 것 같아요!
Class inheritance와 Curring에 관련된 PR은 따로 작성해주시기 바랍니다. |
하나씩 다시 올릴게요. |
본문에 해당 부분을 스킵해도 된다는 부분이 추가되었고
다른부분은 크게 변경된 내용이 없네요.