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