[codewars]Find the odd int

codewars

const findOdd = A=>{
	return A.filter((x)=>{
		console.log("xx")
		return A.filter((v)=>{ return v===x }).length %2 ===1
	}).reduce(a=>a)
}

findOdd([20,1,1,2,2,3,3,5,5,4,20,4,5])