Update rand.js

This commit is contained in:
Namhyeon Go 2022-01-15 21:41:31 +09:00 committed by GitHub
parent 3439e70eb1
commit 7e6e4ef513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,12 +59,17 @@ function shuffle(arr) {
});
}
function rotate(arr, i) {
return arr[i % arr.length];
};
exports.randomize = randomize;
exports.getInt = getInt;
exports.one = one;
exports.makeString = makeString;
exports.uuidv4 = uuidv4;
exports.shuffle = shuffle;
exports.rotate = rotate;
exports.VERSIONINFO = "Random Module (random.js) version 0.2";
exports.global = global;