referencing external javascript file
<p>I want to store array value in an external javascript file and then use an internal script to write a loope that lists the values of the array stored in the external file. 
my javascript file is:</p>

<pre><code>var Arr = new Array("one", "two", "three")
</code></pre>

<p>My internal script</p>

<pre><code>&lt;script src="test.js" datatype "text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
for (x in Arr)
{
document.write("&lt;br /&gt;"+ Arr[x]);
}
&lt;/script&gt;
</code></pre>
