CyberHedgehog/project-lvl1-s490

View on GitHub
src/utils.js

Summary

Maintainability
A
0 mins
Test Coverage
export default (min, max) => {
  const newMax = max + 1;
  return Math.floor(Math.random() * (newMax - min)) + min;
};