$(function(){}); // jquery的用法,dom ready时执行(function(){})(); // 自执行匿名函数var a = (function(){})(); // 自执行匿名函数,将执行结果赋给变量a