标签:
zepto:
$.isEmptyObject = function(obj) { var name for (name in obj) return false return true }
$.isEmptyObject({})//true
{}的判断
原文地址:http://www.cnblogs.com/darr/p/5460888.html