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
Sergi Mamedov -
Sergi Mamedov -
Josh Altons -
Siddhant Khare -
Top comments (0)