結果 : check if array already contains object javascript