I\'m trying to match values from an array to a variable string. So if, for example, I have an array and a variable :
var array = [\'Potato\', \'Cheese\', \'Bikin
you don't need an if statement for it
return array.indexOf(something)!=-1