2024-06-21

This commit is contained in:
2024-06-21 14:34:12 +09:00
parent ca239cf362
commit 342a843ce6
23 changed files with 2654 additions and 1 deletions

View File

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