Skip to content

Comment on JavaScript: what is "this"?

Comments

This kind of a bind is available in dojo via dojo.hitch and in google closure via goog.bind (make sure to require goog.base)

There's a $.hitch plugin in JQuery, it doesn't come with it by default.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.