badcookie/hexlet-brain-games

View on GitHub
src/utils.js

Summary

Maintainability
A
0 mins
Test Coverage
export default (max, min = 0) => (
  Math.floor(Math.random() * (max - min)) + min
);