nl_tokens: * @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
pl_tokens: 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 ) ) + <mask> ) ; }