3lliot
0
Q:

is check objet empty

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

New to Communities?

Join the community