title: Get all months name from year in moment.js
body: <p>I want to get all months name from year  in moment.js </p>
  
  <p>if the year is <code>2011</code>, then i want to all months name in momentjs </p>
  
  <p>i have tried this below code, but it's not working for me.</p>
  
  <pre><code>var xxx = moment().months(2011);
  </code></pre>
  
  <p>Showing result is </p>
  
  <p><img src="https://i.stack.imgur.com/q8JzL.jpg" alt="enter image description here"></p>
  
  <p>also i have tried <code>xxx.months()</code>, but it's return result is <code>7</code> </p>
  
  <p>but i want <code>jan,feb,mar,......dec</code>. <strong>hmm What can i do?</strong> </p>