Add isBeforeDate, isAfterDate, isSameDate
This commit is contained in:
@ -13,7 +13,7 @@ const array = [
|
||||
new Date(2017, 4, 13),
|
||||
new Date(2018, 2, 12),
|
||||
new Date(2016, 0, 10),
|
||||
new Date(2016, 0, 9),
|
||||
new Date(2016, 0, 9)
|
||||
];
|
||||
maxDate(array); // 2018-03-11T22:00:00.000Z
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user