title: Comparing 3 identical values for equality using Javascript
body: <p>I am working on studying for an entry test, and being self learned I have been working a lot of functions problems.  this one has stumped me,
  I a to write a function testing to see if 3 values are equal.  The code i have tired is:</p>
  <pre><code>Function equal(a,b,c){ 
    return a==b==c; 
  }
  </code></pre>
  <p>as well as:</p>
  <pre><code>function equal(a,b,c){
    let newEqual=a==b;
    return newEqual===c
  }
  </code></pre>
  <p>I feel like I am missing something rather simple but have not been able to put my finger on it.
  thank you in advance for any insight</p>