ended3월 15일· 3 sources
The Magic of this, call(), apply(), and bind()
JavaScript의 this, call(), apply(), bind() 이해하기
Why it matters
This article explains how the `this` keyword works in JavaScript, covering its behavior in normal functions, strict mode, and object methods. It then introduces `call()`, `apply()`, and `bind()` as tools to explicitly control what `this` refers to, with syntax examples and use cases like borrowing methods between objects.
3
Sources
+0
24h
—
Growth
184d
Active
apply()arrow functionbind()bindingcall()javascriptlexical scopethis