結果 : check if entry exists in array javascript