📌  相关文章
📜  检查对象是否为空 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:39.334000             🧑  作者: Mango

代码示例2
// because Object.keys(new Date()).length === 0;
// we have to do some additional check
Object.keys(obj).length === 0 && obj.constructor === Object