A difficulty with JavaScript Array from a newbie
<p>I am new to JavaScript. From some tutorials I know in javascript there are two ways to declare the array.
One is like this: </p>

<p><code>var test = new Array("apple","pine");</code></p>

<p>or </p>

<p><code>test = new Array("apple","pine");</code></p>

<p>Two are like this, </p>

<p><code>var test=["apple","pine"];</code></p>

<p>but when i use this way to declare it: </p>

<p><code>test=Array("apple","pine");</code> </p>

<p>It is still ok. why?</p>
