Added samples

This commit is contained in:
Angelos Chalaris
2017-12-12 17:50:08 +02:00
parent d43b538dc1
commit 2e9315b0ec
40 changed files with 94 additions and 20 deletions

View File

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