title: Typescript: using Object.keys to iterate over a dictionary
body: <p>So I have this interface for my dictionary and I initialize it below. </p>
  
  <pre><code>export interface IHash {
      [tagName: string] : string;
  }
  
  var x : IHash = {};
  x["first"] = "details";
  x["second"] = "details";
  </code></pre>
  
  <p>I run <code>let keys = Object.keys(x);</code> and then print my <code>keys</code> and I get <code>0</code> <code>1</code>. It looks as if it's outputting the indices. I was expecting it to print <code>first</code> and <code>second</code>. Would I have to loop through it to get that result?</p>