Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
搜索重复但找不到任何..
两者之间是否有任何实质性区别:
var $foo = $(this);
和
var foo = $(this);
??
没有不同。$是变量中的有效字符。这是一个视觉提示,告诉您这是一个 jQuery 对象。
$