Math.floor(Math.random() * possible.length()) java code example
Example: math random equitative js
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}