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