const isAfterDate = (dateA, dateB) => dateA > dateB;