From cc593c6414fbd450c063d5ce909d75097c21595b Mon Sep 17 00:00:00 2001 From: Laurent Lyaudet Date: Thu, 31 Dec 2020 15:54:21 +0100 Subject: [PATCH] Update article.md typos : raised *to* the given power, dots after comment (one of the three function comments already had the dot at the end) --- 1-js/05-data-types/02-number/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/02-number/article.md b/1-js/05-data-types/02-number/article.md index 7f48a406..8dc36a05 100644 --- a/1-js/05-data-types/02-number/article.md +++ b/1-js/05-data-types/02-number/article.md @@ -383,7 +383,7 @@ JavaScript has a built-in [Math](https://developer.mozilla.org/en/docs/Web/JavaS A few examples: `Math.random()` -: Returns a random number from 0 to 1 (not including 1) +: Returns a random number from 0 to 1 (not including 1). ```js run alert( Math.random() ); // 0.1234567894322 @@ -400,7 +400,7 @@ A few examples: ``` `Math.pow(n, power)` -: Returns `n` raised the given power +: Returns `n` raised to the given power. ```js run alert( Math.pow(2, 10) ); // 2 in power 10 = 1024