ShareCopy to ClipboardRawPreviewconst randomNumberInRange = (min: number, max: number) => Math.random() * (max - min) + min; Generate random number00gioyikCodiga's TypeScript RecipesGenerates a random number in the specified range.0 CommentsAdd CommentLog in to add a comment