Javascript why FOR IN is a bad practice?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/500504/javascript-for-in-with-arrays">JavaScript &ldquo;For &hellip;in&rdquo; with Arrays</a>  </p>
</blockquote>



<p>People always tell me that using FOR IN is a bad practice, please could you tell me why? And why is better to use for with i?</p>

<p>I always liked to use FOR IN because I use PHP too where I use <code>foreach</code> a lot and it's very similar to FOR IN in javascript :)</p>
