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.
我在几个 JS 结构之间有些混淆,其中之一就是这个:http: //pastebin.com/uZD9dfCH
那是什么?那是一堂课吗?一个函数?jquery的扩展?
我无法理解所有这些 JS 结构之间的区别。
任何帮助将不胜感激:D
That's a shortcut for $( document ).ready( function () { /* Code here */ } )
$( document ).ready( function () { /* Code here */ } )