title: Check if Array has exact Key Value object in Javascript
body: <p>I'm doing a simple check to see if this array has an exact key value pair.</p>
  
  <p>for example</p>
  
  <pre><code>testArray = [
     { "key1": "value1" },
     { "key2": "value2" },
     { "key1": "value2" )
  ]
  </code></pre>
  
  <p>How do I check to see if the array contains the exact object { "key1" : "value2" }?</p>
  
  <p>Thanks for the help.</p>