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
Le Vuong -
Shafayet Hossain -
keploy -
Alvin Lee -
Top comments (0)