1.0.1 • Published 6 years ago
@rojo2/random-pick v1.0.1
Random Pick
import randomPick from "@rojo2/random-pick";
const listOfNumbers = [1,2,3,4];
const number = randomPick(listOfNumbers); // random value from listOfNumbers
Made with :heart: by ROJO 2 (http://rojo2.com)