title: How do you get the key at specifc index in javascript map object?
body: <p>Suppose I have the following map object </p>
  
  <pre><code>const items = new Map([['item1','A'], ['item2','B'], ['item3', 'C']])
  </code></pre>
  
  <p>I want to fetch the key at index 2. Is there a way other than using a for loop to get the key of item at index = 2 ?</p>
  
  <p>Got this working as per the answer -</p>
  
  <pre><code>Array.from(items.keys())[2]
  </code></pre>