Updated examples
This commit is contained in:
committed by
Agamemnon Zorbas
parent
99a07d22dd
commit
97c250bcfb
@ -10,5 +10,5 @@ const sample = arr => arr[Math.floor(Math.random() * arr.length)];
|
||||
```
|
||||
|
||||
```js
|
||||
sample([3, 7, 9, 11]) -> 9
|
||||
sample([3, 7, 9, 11]) // 9
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user