結果 : check if all properties of object are null javascript