title: What does .equals() do?
body: <p>I saw the use of an <code>.equals()</code> method in a Stackoverflow posting:</p>
  
  <p><a href="https://stackoverflow.com/questions/3390930/any-way-to-make-jquery-inarray-case-insensitive">Any way to make jQuery.inArray() case insensitive?</a></p>
  
  <pre><code>var matchString = "MATCHME";
  var rslt = null;
  $.each(['foo', 'bar', 'matchme'], function(index, value) { 
    if (rslt == null &amp;&amp; value.toLowerCase().equals(matchString.toLowerCase())) {
      rslt = index;
      return false;
    }
  });
  </code></pre>
  
  <p>Yet I cannot find any documentation on this method. Any references would help.</p>