Skip to content

Commit e1d6ff6

Browse files
authored
more args
1 parent 8532eb2 commit e1d6ff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ This proposal is intentionally pared down to the basic set of commonly-written r
2121

2222
* `Random.random()` - generates a number in 0-1
2323
* `Random.number(a,b)` - generates a number in a-b
24-
* `Random.range()` - generates a random value that would be generated by the same `Iterator.range()`
24+
* `Random.range(...)` - generates a random value that would be generated by the same `Iterator.range(...)`
2525
* `Random.int(a,b)` - generates an integer in a-b
2626
* `Random.bigint(a,b)` - generates a bigint in a-b
27-
* `Random.bytes()` - generates a UInt8Array filled with random bytes
27+
* `Random.bytes(n)` - generates a UInt8Array filled with N random bytes
2828
* `Random.fillBytes(buf)` - fills `buf` with random bytwes
2929

3030
## `Random.random(options: RandomOptions?): Number` ##

0 commit comments

Comments
 (0)