Feature request: Array.prototype.random

peter miller fuchsia.groan at virgin.net
Tue Jun 20 10:06:22 UTC 2017


Isaiah,

> Better idea: let's introduce an integer-based `Math.random` equivalent
> that can be optionally constrained to a specific range.
>

There's a discussion of it here:

https://github.com/rwaldron/proposal-math-extensions/issues/8

Peter

-- 
"There were drawings, and sheets of paper with writing on them, and it  
seemed that they were the sustenance of life, that here were the warlocks,  
almost the vehicles of destruction of man's life, but at the same time the  
very reason for his living." --- Maeve Gilmore/Titus Awakes.


More information about the es-discuss mailing list