Remove unused params.

This commit is contained in:
Bill Thiede 2020-06-22 21:12:07 -07:00
parent 1bca4c3642
commit 06f82cc160

View File

@ -22,7 +22,7 @@ Random.prototype.next = function () {
/**
* Returns a pseudo-random floating point number in range [0, 1).
*/
Random.prototype.nextFloat = function (opt_minOrMax, opt_max) {
Random.prototype.nextFloat = function () {
// We know that result of next() will be 1 to 2147483646 (inclusive).
return (this.next() - 1) / 2147483646;
};