UNPKG

supergeneric

Version:

Supergeneric JS helper functions... formatters, math functions, sort functions, etc.

2 lines (1 loc) 112 B
function r(r){return r[(t=0,n=r.length-1,Math.floor(Math.random()*(n-t+1))+t)];var t,n}export{r as randomItem};