📅  最后修改于: 2022-03-11 15:03:31.057000             🧑  作者: Mango
// because Object.entries(new Date()).length === 0;
// we have to do some additional check
Object.entries(obj).length === 0 && obj.constructor === Object