We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c2ab73 commit 743a0dcCopy full SHA for 743a0dc
1-js/05-data-types/02-number/9-random-int-min-max/task.md
@@ -12,9 +12,9 @@ Any number from the interval `min..max` must appear with the same probability.
12
Examples of its work:
13
14
```js
15
-alert( random(1, 5) ); // 1
16
-alert( random(1, 5) ); // 3
17
-alert( random(1, 5) ); // 5
+alert( randomInteger(1, 5) ); // 1
+alert( randomInteger(1, 5) ); // 3
+alert( randomInteger(1, 5) ); // 5
18
```
19
20
You can use the solution of the [previous task](info:task/random-min-max) as the base.
0 commit comments