Updated for transfer to org

This commit is contained in:
Angelos Chalaris
2018-09-22 10:58:26 +03:00
parent 20daf7635e
commit a2356fdbb3
21 changed files with 33 additions and 33 deletions

View File

@ -2,7 +2,7 @@
Gets `n` random elements at unique keys from `array` up to the size of `array`.
Shuffle the array using the [Fisher-Yates algorithm](https://github.com/chalarangelo/30-seconds-of-code#shuffle).
Shuffle the array using the [Fisher-Yates algorithm](https://github.com/30-seconds/30-seconds-of-code#shuffle).
Use `Array.slice()` to get the first `n` elements.
Omit the second argument, `n` to get only one element at random from the array.