mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-18 02:59:04 +00:00
Update rand.js
This commit is contained in:
parent
7e6e4ef513
commit
31dce1d5c7
|
@ -61,7 +61,7 @@ function shuffle(arr) {
|
||||||
|
|
||||||
function rotate(arr, i) {
|
function rotate(arr, i) {
|
||||||
return arr[i % arr.length];
|
return arr[i % arr.length];
|
||||||
};
|
}
|
||||||
|
|
||||||
exports.randomize = randomize;
|
exports.randomize = randomize;
|
||||||
exports.getInt = getInt;
|
exports.getInt = getInt;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user