title: Get value of first object property
body: <p>I have a simple object that always has one <code>key:value</code> like <code>var obj = {'mykey':'myvalue'}</code></p>
  
  <p>What is the fastest way and elegant way to get the value without really doing this?</p>
  
  <pre><code>for (key in obj) {
    console.log(obj[key]);
    var value = obj[key];
  }
  </code></pre>
  
  <p>Like can I access the value via index 0 or something?</p>