title: How to find out if all variables are true or all are false?
body: <p>How to check if all variables are true or all are false?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var a = true;
  var b = false;
  var c = false;
  
  if (a == b == c) {
    console.log('All variables have same boolean value.');
  }</code></pre>
  </div>
  </div>
  </p>