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
Jaimin Bariya -
Rafik Shaikh -
Jahid Hasan -
Saulo Dias -
Top comments (0)