rand.js 316 B

12345678910
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. const generateId = () => Math.floor(Math.random() * 1e4);
  4. const getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));
  5. exports.generateId = generateId;
  6. exports.getRandomInt = getRandomInt;
  7. //# sourceMappingURL=rand.js.map