Skip to content

Instantly share code, notes, and snippets.

@tahashieenavaz
Created April 8, 2022 13:55
Show Gist options
  • Save tahashieenavaz/84744a4f72f9885403f445f5cbb719ab to your computer and use it in GitHub Desktop.
Save tahashieenavaz/84744a4f72f9885403f445f5cbb719ab to your computer and use it in GitHub Desktop.
const random = (low, high) => low + ~~((high - low) * Math.random())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment