function rand()
in
src/Canvas.js [21:23]
3
lines of code
1
McCabe index (conditional complexity)
function rand() { return colors[~~(colors.length * Math.random())]; }