Skip to content

Commit

Permalink
javascript-tutorial#1722 random-min-max 과제 번역 6, 8번째 줄
Browse files Browse the repository at this point in the history
  • Loading branch information
librarian00 committed Dec 1, 2023
1 parent c1dcfe9 commit 6bbf6d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1-js/05-data-types/02-number/8-random-min-max/solution.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ We need to "map" all values from the interval 0..1 into values from `min` to `ma
That can be done in two stages:

1. If we multiply a random number from 0..1 by `max-min`, then the interval of possible values increases `0..1` to `0..max-min`.
2. Now if we add `min`, the possible interval becomes from `min` to `max`.
2. 이제 `min`을 더하면 `min`에서 `max`가 됩니다.

The function:
함수 :

```js run
function random(min, max) {
Expand Down

0 comments on commit 6bbf6d7

Please sign in to comment.