title: Compare 3 JavaScript variables
body: <p>I only want to show unique variables. Is there an easier or cleaner way to compare three js variables?</p>
  
  <pre><code>if (a==b) {
    if (a==c) {
     //show only a
    } else {
      //show a and c
    }
  } else {
    if (a==c) {
      //show a and b
    } else {
      //show a and b and c
    }
  }
  </code></pre>