b is the value, and a is the array. It returns true or false:
function(a, b) {
return a.indexOf(b) != -1
}
b is the value, and a is the array. It returns true or false:
function(a, b) {
return a.indexOf(b) != -1
}