btw, `myArray.indexOf('foo') > -1` will be good enough to locate a string.