title: Find if value is contained in comma separated values in JS
body: <p>Given these two strings:</p>
  
  <pre><code>var first = 'dog,cat,lion';
  var second = 'cat';
  </code></pre>
  
  <p>How would I do it to know if the second var is any of the words (the ones that are separated by commas) in the first vars?</p>