function rand(a, b, ...c) { b = b + 1 - a - c.length; b = Math.floor(Math.random() * b) + a; return c.sort((a, b) => a - b).reduce((c, b) => c += c >= b, b) }