結果 : check if object property has value javascript