Skip to content

Commit

Permalink
javascript-tutorial#1720-random-min-max-task-1 리뷰 사항 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
kenna-hwa committed Dec 3, 2023
1 parent e8d1cd1 commit 8c8280f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions 1-js/05-data-types/02-number/8-random-min-max/solution.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<<<<<<< HEAD
우리는 0부터 1까지의 모든 값을 `min`부터 `max`까지의 범위로 '매핑' 해야합니다.
=======
우리는 0부터 1까지의 모든 값을 `최소값`부터 `최대값`까지의 "매핑"해야합니다.
>>>>>>> 3c18ad2f00579538cb2f5cd25ac499785469103e

That can be done in two stages:

Expand All @@ -16,8 +12,7 @@ function random(min, max) {
return min + Math.random() * (max - min);
}

alert( random(1, 5) );
alert( random(1, 5) );
alert( random(1, 5) );
alert(random(1, 5));
alert(random(1, 5));
alert(random(1, 5));
```

0 comments on commit 8c8280f

Please sign in to comment.