function isObjectEmpty(obj) {
for (var key in obj) {
if (obj.hasOwnProperty(key))
return false;
}
return true;
}
For further actions, you may consider blocking this person and/or reporting abuse
function isObjectEmpty(obj) {
for (var key in obj) {
if (obj.hasOwnProperty(key))
return false;
}
return true;
}
For further actions, you may consider blocking this person and/or reporting abuse
ashu-commits -
Zhang Wei -
Wilson Gouanet -
Andrea Liliana Griffiths -
Top comments (0)