On Thu, Jul 28, 2011 at 1:21 AM, Brendan Eich <[email protected]> wrote:
> Math functions ... > Can I add a request? Math.randomInt(n) returning [0, n) would be a nice addition. Additionally but not necessarily, it could accept an optional extra parameter for Math.randomInt(from, to). Most of the time, when writing games or simple applications a random integer is a lot more useful than a float. Juan
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

