code: function() {
      var min, max, args = arguments;
      //if only one argument is provided we are expecting to have a value between 0 and max
      if (args.length === 1) {
        max = args[0];
        min = 0;
      }
      //two arguments provided mean we are expecting to have a number between min and max
      if (args.length >= 2) {
        min = args[0];
        max = args[1];
  
        if (min > max) {
          min = args[1];
          max = args[0];
        }
      }
      return min + Math.floor(Math.random() * (max - min));
    }
docs: return a random number between a min and a max value