Month Class in OOP in JavaScript
Задание 1
Make a class Month that will represent a month. Let the constructor of this class take the month number as a parameter.
Задание 2
Make a method that will return the month number.
Задание 3
Make a method that will return the name of the month.
Задание 4
Make a method that will return the number of the last day of the month.
Задание 5
Create a method that will return the day of the week number of the first day of the month.
Задание 6
Create a method that will return the day of the week number of the last day of the month.