What is the difference between variables:
var this_obj = $ ("div");
and
var $ this_obj = $ ("div");
more interested in the use of such variables, in what cases and why?
Answer 1, Authority 100%
No difference, Personally, I use variables with the ‘$’ prefix when it contains an object jQuery to make it easier to read the code.
Answer 2, Authority 17%
Recently there was such a question, they do not differ anything, it’s just a general recombination, you can write like that if you want to show that this is an object jQuery