function(n1, n2) {
      var min, max;
      if(arguments.length == 1) n2 = n1, n1 = 0;
      min = math.min(n1 || 0, isUndefined(n2) ? 1 : n2);
      max = math.max(n1 || 0, isUndefined(n2) ? 1 : n2) + 1;
      return floor((math.random() * (max - min)) + min);
    }
function(n1, n2) {
      var min, max;
      if(arguments.length == 1) n2 = n1, n1 = 0;
      min = math.min(n1 || 0, isUndefined(n2) ? 1 : n2);
      max = math.max(n1 || 0, isUndefined(n2) ? 1 : n2) + 1;
      return floor((math.random() * (max - min)) + min);
    }
function ( n1 , n2 ) { var min , max ; if ( arguments . length == 1 ) n2 = n1 , n1 = 0 ; min = math . min ( n1 || 0 , isUndefined ( n2 ) ? 1 : n2 ) ; max = math . max ( n1 || 0 , isUndefined ( n2 ) ? 1 : n2 ) + 1 ; return floor ( ( math . random ( ) * ( max - min ) ) + min ) ; }
*
@method Number.random([n1], [n2])
@returns Number
@short Returns a random integer between [n1] and [n2].
@extra If only 1 number is passed, the other will be 0. If none are passed, the number will be either 0 or 1.
@example

Number.random(50, 100) -> ex. 85
Number.random(50)      -> ex. 27
Number.random()        -> ex. 0

*
* @method Number . random ( [ n1 ] [ n2 ] ) @returns Number @short Returns a random integer between [ n1 ] and [ n2 ] . @extra If only 1 number is passed the other will be 0 . If none are passed the number will be either 0 or 1 . @example