Open Hongbusi opened 2 years ago
function getRandom() {
const ran = parseInt(10*Math.random())
const ran2 = parseInt(10*Math.random())+1
const temp = crypto.getRandomValues(new Uint32Array(ran))[ran-1]
return parseInt((temp+'').substring(0,ran2))
}