結果 : check if object has value javascript