title: JavaScript/jQuery check that array contains all a certain value?
body: <p>Using JavaScript or jQuery, I want to check through an array to make sure all items have a certain value. So for example, if I am checking for "active" in the following arrays, I want:</p>
  
  <pre><code>["active"] =&gt; true
  ["active", "active", "active"] =&gt; true
  ["active", "pending", "active", "active"] =&gt; false
  ["pending"] =&gt; false
  </code></pre>
  
  <p>What's the simplest way to accomplish this?</p>