title: Accessing value from an Array in JavaScript
body: <p>I have an array which is printed as follows in the console. Not able to access its values, by</p>
  
  <pre><code>array[0]
  </code></pre>
  
  <p>but it has 4 elements. How to access these values and iterate?</p>
  
  <p><a href="https://i.stack.imgur.com/KpXzl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KpXzl.png" alt=""></a></p>