MCPcopy Create free account
hub / github.com/Lazack28/Lazack-Device / pickRandom

Function pickRandom

handler.js:382–384  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

380 }
381
382 function pickRandom(list) {
383 return list[Math.floor(Math.random() * list.length)]
384 }
385 }
386}
387

Callers 1

handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected