結果 : check if list has value javascript