javascript - Create Simple Dynamic Array
<p>What's the most efficient way to create this simple array dynamically.</p>

<pre><code>var arr = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
</code></pre>

<p>Let's say we can get the number 10 from a variable</p>

<pre><code>var mynumber = 10;
</code></pre>
