Month Class in OOP in JavaScript
Make a class Month that will represent a month. Let the constructor of this class take the month number as a parameter.
Make a method that will return the month number.
Make a method that will return the name of the month.
Make a method that will return the number of the last day of the month.
Create a method that will return the day of the week number of the first day of the month.
Create a method that will return the day of the week number of the last day of the month.