update snippets 96-107

This commit is contained in:
Stefan Feješ
2017-12-25 14:38:49 +01:00
committed by Agamemnon Zorbas
parent a7fe8cb9d6
commit 6bedb8fba4
11 changed files with 70 additions and 40 deletions

View File

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