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
mkdev.me -
TheCSPandz -
Ahammad Sabir -
Shakil Alam -
Top comments (0)