text: function dayOfTheWeek(input) {
      switch(input) {
          case "Monday" : return 1;
          case "Tuesday" : return 2;
          case "Wednesday" : return 3;
          case "Thursday" : return 4;
          case "Friday" : return 5;
          case "Saturday" : return 6;
          case "Sunday" : return 7;
          default : return "error";
      }
  }
  
  console.log(dayOfTheWeek("Monday"));
  console.log(dayOfTheWeek("Friday"));