ZateExt Class in OOP in JavaScript
Make a class ZateExt
that will inherit from the Zate
class from the previous lesson and extend it with some methods.
Create a method that will add a specified number of years to a date.
Create a method that will subtract a specified number of years from a date.
Create a method that will add a specified number of months to a date.
Create a method that will subtract a specified number of months from a date.
Create a method that will add a specified number of days to a date.
Create a method that will subtract a specified number of days from a date.