Skip to content

Commit 8735adc

Browse files
authored
Merge pull request #940 from h-n-y/h-n-y-patch-1
Fix typo
2 parents 340c147 + 743a0dc commit 8735adc

File tree

1 file changed

+3
-3
lines changed
  • 1-js/05-data-types/02-number/9-random-int-min-max

1 file changed

+3
-3
lines changed

1-js/05-data-types/02-number/9-random-int-min-max/task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Any number from the interval `min..max` must appear with the same probability.
1212
Examples of its work:
1313

1414
```js
15-
alert( random(1, 5) ); // 1
16-
alert( random(1, 5) ); // 3
17-
alert( random(1, 5) ); // 5
15+
alert( randomInteger(1, 5) ); // 1
16+
alert( randomInteger(1, 5) ); // 3
17+
alert( randomInteger(1, 5) ); // 5
1818
```
1919

2020
You can use the solution of the [previous task](info:task/random-min-max) as the base.

0 commit comments

Comments
 (0)