hongbo-miao/hongbomiao.com

View on GitHub
web/src/shared/utils/random.ts

Summary

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

export default random;