Yehuda Katz personal blog

Understanding JavaScript function invocation and "this"

Over the years, I've seen a lot of confusion about JavaScript function invocation. In particular, a lot of people have complained that the semantics of this in function invocations is confusing. In my opinion, a lot of this confusion is cleared up by understanding the core function invocation primitive,
Points
100
HN comments
9
Submissions
1
Cited by
4 commenters

Software EngineeringWeb & Frontend2011

On Hacker News

SubmittedTitle on HNPointsComments
Aug 11, 2011Understanding JavaScript function invocation and "this" by wycats1009

Cited in comments

Linked from 4 Hacker News comments by 4 different people, from Apr 2012 to Dec 2014.

Most recent:

Search every comment that links here →

More from Yehuda Katz

All 17 posts →

Related posts from the same era