javascript - Difference var foo and var $foo -


this question has answer here:

searched duplicates couldn't find any..

is there substantial difference between:

var $foo = $(this); 

and

var foo = $(this); 

??

no difference. $ valid character in variables. it's visual cue tells that's jquery object.


Comments