結果 : check if object has any value javascript