sparkletown/sparkle

View on GitHub
src/utils/getRandomInt.tsx

Summary

Maintainability
A
0 mins
Test Coverage
export const getRandomInt = (max: number) => {
  return Math.floor(Math.random() * Math.floor(max + 1));
};