Skip to content

Instantly share code, notes, and snippets.

@hacke2
Created August 25, 2014 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hacke2/c1f5168ed6ca2b71bdc4 to your computer and use it in GitHub Desktop.
Save hacke2/c1f5168ed6ca2b71bdc4 to your computer and use it in GitHub Desktop.
m-n的随机数
parseInt(Math.random())*(n-m)+m;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment