title: How to traverse an Object in Typescript?
body: <p>I have a function that receives an Object which looks like the following one,</p>
  
  <pre><code>Object(12)
  
  0: "UQ"
  
  1: "YTL"
  
  2: "VZW"
  
  3: "LGT"
  
  4: "KDDI"
  
  5: "KT"
  
  6: "SPRINT_T"
  
  7: "RIL"
  
  8: "SKT"
  ​
  9: "SPRINT"
  ​
  10: "KPS"
  ​
  11: "GLB1"
  </code></pre>
  
  <p>and assigned it to variable name is results: string [];</p>
  
  <p>now I traverse the whole array using forEach but I can't. Then I print the length of the object that shows 0. </p>
  
  <p>But I can access the name using results[0] or results[1]. But I can't use loop.</p>
  
  <p>Now, How can I traverse the whole Object and access all names like 'UK', 'YTL'.</p>