日期:2014-05-16 浏览次数:20331 次
var jQuery = $;
var jQueryObject = $();
for(var key in jQuery){
console.log(key);
}
for(var key2 in jQueryObject){
console.log(key2);
}
$.each(jQuery,function(value){ console.log(value); });
$.each(jQueryObject,function(value){ console.log(value); });
for(var i in obj) {
if(obj.hasOwnProperty(i)) {
console.log(i);
}
}
window.$ = function (e,t){return new i.fn.init(e,t,u)}