Merge pull request #940 from h-n-y/h-n-y-patch-1

Fix typo
This commit is contained in:
Ilya Kantor 2019-04-25 09:14:16 +02:00 committed by GitHub
commit 8735adcb6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,9 +12,9 @@ Any number from the interval `min..max` must appear with the same probability.
Examples of its work:
```js
alert( random(1, 5) ); // 1
alert( random(1, 5) ); // 3
alert( random(1, 5) ); // 5
alert( randomInteger(1, 5) ); // 1
alert( randomInteger(1, 5) ); // 3
alert( randomInteger(1, 5) ); // 5
```
You can use the solution of the [previous task](info:task/random-min-max) as the base.