9 lines
252 B
JavaScript
9 lines
252 B
JavaScript
'use strict';
|
|
|
|
const generateId = () => Math.floor(Math.random() * 1e4);
|
|
const getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));
|
|
|
|
exports.generateId = generateId;
|
|
exports.getRandomInt = getRandomInt;
|
|
//# sourceMappingURL=rand.js.map
|