fix naming

This commit is contained in:
Stefan Feješ
2017-12-17 15:41:31 +01:00
parent 8cea052bb1
commit b848906fe5
73 changed files with 18 additions and 18 deletions

View File

@ -3,6 +3,6 @@
Use `Math.random()` to generate a random value, map it to the desired range using multiplication.
```js
const randomInRange = (min, max) => Math.random() * (max - min) + min;
const randomNumberInRange = (min, max) => Math.random() * (max - min) + min;
// randomInRange(2,10) -> 6.0211363285087005
```