結果 : how to check if an element exists in array javascript