What is the difference between var x = []; and var x = new Array(); in javascript?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/931872/whats-the-difference-between-array-and-while-declaring-a-javascript-arr">What’s the difference between &ldquo;Array()&rdquo; and &ldquo;[]&rdquo; while declaring a JavaScript array?</a>  </p>
</blockquote>



<p>And between <code>var y = {};</code> and <code>var y = new Object();</code></p>

<p>what are the differences between those implementations?</p>
