text: // Challenge: Rewrite your first function from a previous challnge to be an arrow function. 
  // Stretch goal: Rewrite counting down closure in arrow function form. 
  
  
  // Challenge start 
  /*function splitBill(amount, numPeople) {
      return `Each person needs to pay ${amount / numPeople}`
  }*/
  
  const splitBill = (amount, numPeople) => `Each person needs to return ${amount / numPeople}`;
  
  console.log(splitBill(10, 2));
  console.log(splitBill(10, 4));
  console.log(splitBill(10, 5));
  
  
  // Stretch goal start
  /*function countdown(startingNumber, step) {
    let countFromNum = startingNumber + step;
    return function decrease() {
      countFromNum -= step;
      return countFromNum;
    }
  }*/
  
  const countdown = (startingNumber, step) => {
    let countingDown = startingNumber + step;
    return () => countingDown -= step;
  }
  
  const countingDown = countdown(20, 2);
  
  console.log(countingDown());
  console.log(countingDown());
  console.log(countingDown());
  