ZMath.ts 107 B

123456
  1. Math.randomInt2 = function (min, max) {
  2. return Math.floor(Math.random() * (max - min + 1) + min)
  3. }