Quantcast
Viewing latest article 2
Browse Latest Browse All 7

Answer by Brent Rittenhouse for What is the reason for var $this = this

I do $this = $(this) because it seems that it would save the actual processing of that call every single time you want to use it.

Also, for the 'magic 'this'' function that someone else mentioned. It is handy to keep the original copy around.


Viewing latest article 2
Browse Latest Browse All 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>