function isEmptyObject(e) { var t; for (t in e){ return !1; } return !0 } 转载于:https://my.oschina.net/u/2999760/blog/875095