text: /**
   * Given an email address, return it's domain.
   *
   * @param {String} email
   * @return {String}
   *
   * @example
   * For the input 'prettyandsimple@example.com', the output should be 'example.com'
   *
   */
  function getEmailDomain(email) {
    const mail = email;
    return mail.split('@').pop();
  }
  
  module.exports = getEmailDomain;
  