3. Create a function that will return the current month by its full name. Use the Date object to get the current month. Months are returned as 0 for January, 1 for February, 2 for March, and so on. Output should resemble this:
The current month is January.
Hint: You can create an array, starting at index 0, and assign a month value to it; for example, month[0]="January" or use a switch statement, for example, case 0: return "January".
Back to Assignment Web Page.