Y
Hacker News
new
|
ask
|
show
|
jobs
by
igl
4209 days ago
In short: this is a reference to a functions context. If no context is present it points to the global context or if encapsulated to undefined.
context.func() //this == context
func() // this == global