Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ✏️ 기억에 남는 내용

- this는 자신이 속한 객체 또는 자신이 생성할 인스턴스를 가리키는 자기 참조 변수다. this를 통해 자신이 속한 객체 또는 자신이 생성할 인스턴스의 프로퍼티나 메서드를 참조할 수 있으며, this 바인딩은 함수 호출 방식에 의해 동적으로 결정된다.

- 일반 함수로 호출된(중첩 함수, 콜백함수 포함)모든 함수 내부의 this에는 전역객체가 바인딩되며, strict mode에서는 undefined가 바인딩된다.

- 생성자 함수 내부의 this에는 생성자 함수가 생성할 인스턴스가 바인딩된다.

- apply, call, bind 메서드는 Function.prototype의 메서드로, 모든 함수가 상속받아서 사용할 수 있다.
1 change: 1 addition & 0 deletions 7주차 (20~22장)/22. this/Sun4-me/퀴즈.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1. apply, call, bind 메서드의 각각의 특징들을 간단히 서술하시오.