godot-webrtc-mplayer-testing/deps.ts

3 lines
110 B
TypeScript
Raw Permalink Normal View History

2021-11-17 13:57:45 -06:00
export const randomInt = (low: number, high: number) =>
Math.floor(Math.random() * (high - low + 1) + low);