結果 : check if all object properties are null javascript