From 6bbf6d77d5c5c8eb9d9bd8c2a8b3c76e977a7a9f Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 1 Dec 2023 15:52:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#1722=20random-min-max=20=EA=B3=BC=EC=A0=9C?= =?UTF-8?q?=20=EB=B2=88=EC=97=AD=206,=208=EB=B2=88=EC=A7=B8=20=EC=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-js/05-data-types/02-number/8-random-min-max/solution.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/02-number/8-random-min-max/solution.md b/1-js/05-data-types/02-number/8-random-min-max/solution.md index 8736c3d561..21aa632b89 100644 --- a/1-js/05-data-types/02-number/8-random-min-max/solution.md +++ b/1-js/05-data-types/02-number/8-random-min-max/solution.md @@ -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) { From dd6c9cfc9c13a730ca436ab75b1879fdfa7a5d6a Mon Sep 17 00:00:00 2001 From: librarian00 <152585253+librarian00@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:51:09 +0900 Subject: [PATCH 2/2] Update 1-js/05-data-types/02-number/8-random-min-max/solution.md Co-authored-by: Bora Lee --- 1-js/05-data-types/02-number/8-random-min-max/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/02-number/8-random-min-max/solution.md b/1-js/05-data-types/02-number/8-random-min-max/solution.md index 21aa632b89..0bff75f42f 100644 --- a/1-js/05-data-types/02-number/8-random-min-max/solution.md +++ b/1-js/05-data-types/02-number/8-random-min-max/solution.md @@ -5,7 +5,7 @@ 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. 이제 `min`을 더하면 `min`에서 `max`가 됩니다. -함수 : +완성된 함수는 다음과 같습니다. ```js run function random(min, max) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy