meshcherov/project-lvl1-s474

View on GitHub
src/utils.js

Summary

Maintainability
A
0 mins
Test Coverage
export const getRandom = (minNum, maxNum) => Math.floor(Math.random() * (maxNum - minNum) + minNum);

export const getRandomNumberToString = (minNum, maxNum) => (getRandom(minNum, maxNum)).toString();