結果 : check if value exists in hashmap javascript