const checkDate = () => {
  return;
}
module.exports = checkDate;

const checkDate = (dateString) => {
  if (isNaN(Date.parse(dateString))) {
    return false;
  }
  return true;
}
module.exports = checkDate;

Implement checkDate function for date string arguments
Implement checkDate function for date string arguments
