const rdm = Math . random ; const flr = Math . floor ; param first param last param suffix param round export function random ( first , last , suffix ? , round ? ) { let val = first + rdm ( ) * ( last - first ) ; if ( round === true ) { val = flr ( val ) ; } return ! suffix ? val : val + suffix ; }