mirror of
https://github.com/bspeice/speice.io
synced 2024-12-23 00:58:09 -05:00
Bradlee Speice
3a41d5c81a
Need to get rid of Plotly, unfortuantely - causes issues with hydration. Seems like Victory is better able to handle what I need.
3 lines
133 B
TypeScript
3 lines
133 B
TypeScript
export default function randomInteger(min: number, max: number): number {
|
|
return Math.floor(Math.random() * (max - min)) + min;
|
|
} |