Zate Class in OOP in JavaScript

Задание 1

Make a class Zate that will represent a date. Let the constructor of this class take the year, month and day of the date as parameters.

Задание 2

Make a method that will return the year.

Задание 3

Make a method that will return the month number.

Задание 4

Make a method that will return the day of the month.

Задание 5

Make a method that will return the day of the week number.

Задание 6

Make a method that will return the name of the day of the week.

Задание 7

Make a method that will return the name of the month.