1.0.2 • Published 6 years ago
@rojo2/random-index v1.0.2
Random Index
import randomIndex from "@rojo2/random-index";
const index = randomIndex([1,2,3,4]) // index will be between 0 and 3
Made with :heart: by ROJO 2 (http://rojo2.com)
import randomIndex from "@rojo2/random-index";
const index = randomIndex([1,2,3,4]) // index will be between 0 and 3
Made with :heart: by ROJO 2 (http://rojo2.com)