12 Jan 2015 ... The Math.random() function returns a floating-point, pseudo-random number in the range [0, 1) that is, from 0 (inclusive) up to but not including ...
developer.mozilla.org