text: function firstRepeatCharacter(string) {
  
      var arr = string.split(''),
          result = '',
          ctr = 0;
  
      for (var x = 0; x < arr.length; x++) {
  
          ctr = 0;
  
          for (var y = 0; y < arr.length; y++) {
  
              if (arr[x] !== arr[y]) {
  
                  ctr += 1;
  
              }
  
          }
  
          if (ctr > 2) {
  
              result = arr[x];
              break;
  
          }
  
      }
  
      return result;
  
  }
  
  function firstNotRepeatCharacter(string) {
      
      var arr = string.split(''),
          result = '',
          ctr = 0;
  
      for (var x = 0; x < arr.length; x++) {
  
          ctr = 0;
  
          for (var y = 0; y < arr.length; y++) {
  
              if (arr[x] === arr[y]) {
  
                  ctr += 1;
  
              }
  
          }
  
          if (ctr < 2) {
  
              result = arr[x];
              break;
  
          }
  
      }
  
      return result;
  
  }