cleanup, docs
This commit is contained in:
@@ -14,7 +14,6 @@ Works like `generate_int()`, but uses `context.random_index` for the index value
|
||||
|
||||
After each call, `context.random_index` is increased by one. At the start of every request, `context.random_seed` is automatically populated with a new seed value.
|
||||
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `random_int()`, `mt_rand()`, and custom numeric random helpers
|
||||
- JavaScript / Node.js: `Math.random()` or `crypto.getRandomValues()`-based helpers for numeric ranges
|
||||
:example
|
||||
print(draw_int(1, 10) >= 1 ? "int\n" : "bad\n");
|
||||
|
||||
Reference in New Issue
Block a user