Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nosebleed

Member since
nosebleed

Recent Docs Activity

View all activity
Page Date Comment

Math.random()


\/

Math.random()


correcting JS random function for a range. this will still issue wrong results if min is not an integer, but if you leave the min inside the parenthesis, we believe the number returned might not be in the range.