How to create array from string in javascript : <p>I have a string like below</p>

<pre><code>  Ontario;Northwest Territories;Nunavut;Prince Edward Island
</code></pre>

<p>from this string I need to create an array of string like</p>

<pre><code> territoty:Array&lt;string&gt; = [Ontario,Northwest Territories,Nunavut,Prince 
 Edward Island]
</code></pre>

<p>in javascript.</p>

<p>How can I create the array from the string?</p>
