View Code? Open in Web Editor
NEW
๐ธ The collections of lightweight utilities to make your life easier.
Home Page: https://github.com/lamualfa/carret
License: Do What The F*ck You Want To Public License
JavaScript 42.33%
TypeScript 57.67%
carret's Introduction
My name is La Ode Muhammad Al Fatih.
![hr](https://user-images.githubusercontent.com/39755201/159233055-3bd55a37-7284-46ad-b759-5ab0c13b3828.png)
![Stackoverflow](https://camo.githubusercontent.com/0eade24cd7b86ec92e8739eb3815e8eed4f1840d66b8f5317732356dcfda463b/68747470733a2f2f737461636b65786368616e67652e636f6d2f75736572732f666c6169722f31353034393237322e706e67)
![Codewars](https://camo.githubusercontent.com/ae71c4a1b368c68fb67eb97f4a83f0afb60bfd581719a3955ebcf2fade6d580e/68747470733a2f2f7777772e636f6465776172732e636f6d2f75736572732f6c616d75616c66612f6261646765732f736d616c6c)
carret's People
Contributors
Watchers
carret's Issues
proposed feature request:
const arr = [1, 2, 3, 4, 5, 6, 7, 8];
const result = shuffleArray(arr, 3); // returns [3, 5, 8];
arr
will be shuffled first
- carret will pick 3 random items from the shuffled
arr
- returns the result
will this be possible? I'd like to use it on one of my projects. thanks!