2025-01-24T02:27:50

This commit is contained in:
2025-01-24 02:27:50 +09:00
parent 342a843ce6
commit f43f6328c0
47 changed files with 292 additions and 145 deletions

9
doc/topics/This.md Normal file
View File

@@ -0,0 +1,9 @@
# this
자바스크립트에서 this 키워드는 상식과 많이 다르게 작동합니다.
전역 컨텍스트에서의 this는 전역 객체(브라우저에서는 window 객체)를 가리킵니다.
일반적인 함수 컨텍스트에서는 전역 객체를 가리킵니다.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this