randseed
Set the random seed for reproducible results, and return it
randseed(
[seed]
) -> NUMBER
Set the random seed for reproducible results, and return it
Syntaxe
randseed(42); // fix the seed for reproducible results
var seed = randseed(); // reset to a new random seed
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
seed | - | - | Random seed value |