title: Why doesn't this JavaScript object key match a string with the same name?
body: <p>Here is a basic comparison of a test object.</p>
  
  <pre><code>var testObj = {"hey":"blue"};
  alert(Object.keys(testObj)); // alerts hey
  if (Object.keys(testObj) === "hey") {
    alert('matches');
  }
  </code></pre>
  
  <p>The first alert produces "hey", which matches the right side of the if statement comparison "hey" yet the alert('matches') does not fire, why is that?</p>
  
  <p>edit: sorry dumb question</p>