title: Array iteration in javascript
body: <pre><code>Array: {3412124539: 1, 3412124540: 1, 3412124577: 2, 3412124590: 1, 3412124602: 1, 3412124605: 1, 3412124607: 1, 3412124617: 1, 3412124629: 1, 3412124630: 1, 4709502367: 1, 4709502349: 1, 4709502326: 1, 4708510268: 1, 4708510060: 1, …}
  </code></pre>
  
  <p>I want to search for <code>3412124577</code>.
  If the value is <code>2</code>
  Then return.</p>
  
  <p>How should I do that. Also when I tried iterating <code>Array[30]</code>. It gives me error.
  How should I do search.</p>