1.判断是否为空对象
返回 false 不为空,true 为空
function isEmptyObject(obj) { var t; for (t in obj) { return !1; } return !0; }