Skip to content

Instantly share code, notes, and snippets.

@dzineer
Forked from seripap/months.js
Created September 22, 2021 06:11
Show Gist options
  • Save dzineer/1a4d4adc3591fb7e7f20b0c8ac3c4f75 to your computer and use it in GitHub Desktop.
Save dzineer/1a4d4adc3591fb7e7f20b0c8ac3c4f75 to your computer and use it in GitHub Desktop.
JavaScript JS month names arrays
var month= ["January","February","March","April","May","June","July",
"August","September","October","November","December"];
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"];
//used with date.getMonth()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment