export { random , range } ; function param { number } min param { number } max returns { number } const random = ( min , max ) : number => Math . floor ( Math . random ( ) * ( max - min ) ) + min ; function param { number } start param { number } end returns { Array < number > } const range = ( start , end , step = 1 ) : number [ ] => { const output = [ ] ; if ( typeof end === 'undefined' ) { end = start ; start = 0 ; } for ( let i = start ; i < end ; i += step ) { output . push ( i ) ; } return output ; } ;