mirror of
https://github.com/gizmo4487/O-Bot.git
synced 2026-07-14 08:35:55 -05:00
Formatting changes + Update version to 1.0.0
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
function randomHex(){
|
||||
let hex="";
|
||||
let randNum = 0;
|
||||
randNum = (Math.floor(Math.random()*Math.floor(41)));
|
||||
if(randNum<16){
|
||||
hex = "0" + randNum.toString(16);
|
||||
}
|
||||
else{
|
||||
hex = randNum.toString(16);
|
||||
}
|
||||
function randomHex() {
|
||||
let hex = "";
|
||||
let randNum = 0;
|
||||
randNum = Math.floor(Math.random() * Math.floor(41));
|
||||
if (randNum < 16) {
|
||||
hex = "0" + randNum.toString(16);
|
||||
} else {
|
||||
hex = randNum.toString(16);
|
||||
}
|
||||
|
||||
return hex;
|
||||
return hex;
|
||||
}
|
||||
|
||||
module.exports = { randomHex };
|
||||
|
||||
Reference in New Issue
Block a user