getOwnPropertyNames方法:not empty") } // 或者相容ie9 if(Object.keys(obj).length == 0){ console.log("Object.keys方法:is empty") }else{ ...
確定! 回上一頁