結果 : check for object in array javascript