Get localized month name using native JS
<p>It's possible to do this to get the localized full month name using native <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged &#39;javascript&#39;" rel="tag">javascript</a>.</p>

<pre><code>var objDate = new Date("10/11/2009"),
    locale = "en-us",
    month = objDate.toLocaleString(locale, { month: "long" });
</code></pre>

<p>But this only gets the month number for a given date. I'd simply like to get the month name corresponding to a month number. For example, if I do <code>getMonth(2)</code> it would return <code>February</code>. How can I implement <code>getMonth</code> using native <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged &#39;javascript&#39;" rel="tag">javascript</a>(no libraries like <code>moment</code>)?</p>