Microsoft® JScript® random Method |
Language Reference Version 1 |
Description
Returns a pseudorandom number between 0 and 1.
Syntax
Math.random( )
Remarks
The pseudorandom number generated is between 0 and 1 inclusive. The random number generator is seeded automatically when JScript is first loaded.