util.js 92 B

123
  1. export function randomNum (n, m) {
  2. return Math.floor(Math.random() * (m - n + 1) + n)
  3. }