MCPcopy Create free account
hub / github.com/Siris2314/NecroAtomicBot / randomRange

Function randomRange

classes/functions.js:59–61  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

57 },
58
59 randomRange(min, max) {
60 return Math.floor(Math.random() * (max - min + 1)) + min;
61 },
62
63 shuffle: function (array) {
64 const arr = array.slice(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected