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