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