Tribute to _this = this !
Why would you prefer using $.proxy when you just need to declare a variable ?
Written by Faz
Related protips
2 Responses
- To avoid leaky closures
- In some cases this also helps you re-use an existing handler function instead of creating a new anonymous function every time
over 1 year ago
·
I'll remember that.
Thx
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Js
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#