This commit is contained in:
2022-02-23 22:04:15 +00:00
parent a793b3a5f5
commit 9223635c18
6 changed files with 17 additions and 9 deletions

View File

@@ -972,8 +972,14 @@ export default {
ret.push(6);
}
return ret;
},
///////////////////////////////////////////////
// Random integer from 0 to max
//
//
getRandomInt: function(max) {
return Math.floor(Math.random() * max);
}
/**
*
*