Skip to content

rojo2/random-index

Repository files navigation

Random Index

Travis CI

import randomIndex from "@rojo2/random-index";

const index = randomIndex([1,2,3,4]) // index will be between 0 and 3

Made with ❤️ by ROJO 2 (http://rojo2.com)

About

Returns a random index from an array

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published