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)
This commit is contained in:
Laurent Lyaudet 2020-12-31 15:54:21 +01:00 committed by GitHub
parent 1fa08bc754
commit cc593c6414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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