papaponmx / task62

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

task62

mentor code challenge as follows:

Create a function that:

  1. Takes as a parameter a string with the following format:MM/DD/YYYY
  2. Returns a string indicating what day was the entered date.
  3. Returns an error if the date is later than today.

For example:

12/08/2020 should return Wednesday August 12, 2020

All strings must be defined using template literals.

About


Languages

Language:JavaScript 100.0%