title: how to get value if the object key is dynamic in typescript?
body: <p>I have an array of object.structure is like that. </p>
  
  <pre><code>animal = [{"cow":{"leg":4,"eye":2}},{"monkey":{"leg":2,"eye":2}}]
  </code></pre>
  
  <p>here first key is dynamic like cow and monkey</p>
  
  <p>so my question is how can i access the key leg if first key is dynamic</p>