Object Emtpy by keys Post author By Amer Sikira Post date October 6, 2021 const boj = {} if(Object.keys(obj).length === 0 && obj.constructor === Object) { //This will do } ← Empty object wrong solution → Object prototype