title: JavaScript - Check if at least one variable is true
body: <p>How do I check if at least 1 out of a group of variables is true.
  For example:</p>
  
  <pre><code>var v1 = false;
  var v2 = false;
  var v3 = false;
  var v4 = false;
  var v5 = false;
  </code></pre>
  
  <p>Let's say that I have 5 buttons and the variable of <code>v1</code> changes every time I click on <code>button1</code> and so on. Let's suppose that I click on <code>button4</code> and <code>v4</code> changes to true. How do I check if at least one of the 5 variables is true. Something like this:</p>
  
  <pre><code>if(1/5 variables is true) {do something}
  </code></pre>
  
  <p>Should I create an array or something?</p>