ZateExt Class in OOP in JavaScript
Задание 1
Make a class ZateExt that will inherit from the Zate class from the previous lesson and extend it with some methods.
Задание 2
Create a method that will add a specified number of years to a date.
Задание 3
Create a method that will subtract a specified number of years from a date.
Задание 4
Create a method that will add a specified number of months to a date.
Задание 5
Create a method that will subtract a specified number of months from a date.
Задание 6
Create a method that will add a specified number of days to a date.
Задание 7
Create a method that will subtract a specified number of days from a date.