結果 : check if all object properties are empty javascript