⊗jsOpPrZt 57 of 60 menu

Zate Class in OOP in JavaScript

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.

Make a method that will return the year.

Make a method that will return the month number.

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

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

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

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

enru