結果 : check if object properties are null javascript