Fixed birthdate interpolation and query.

This commit is contained in:
DebaucheryLibrarian
2020-12-17 03:43:09 +01:00
parent a3306ad4e7
commit d67dca60fc
2 changed files with 3 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ function getMostFrequentDate(dates) {
}
function getHighest(items) {
return items.reduce((prevItem, item) => (item > prevItem ? item : prevItem), 0);
return items.reduce((prevItem, item) => (item > prevItem ? item : prevItem), null);
}
function getLongest(items) {