Compare Revisions

Math.random()

Change Revisions

Revision 418107:

Revision 418107 by Sheppy on

Revision 443417:

Revision 443417 by Coopster on

Title:
Math.random
Math.random
Slug:
Web/JavaScript/Reference/Global_Objects/Math/random
Web/JavaScript/Reference/Global_Objects/Math/random
Tags:
"Math", "Math Methods", "JavaScript"
"Math", "Math Methods", "JavaScript"
Content:

Revision 418107
Revision 443417
t80  return Math.floor(Math.random() * (max - min + 1)) + min;t80  return Math.floor(Math.random() * (max - min + 1) + min);

Back to History