mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
padStart instead of Util.pad
This commit is contained in:
@@ -43,10 +43,6 @@ class Util {
|
||||
};
|
||||
}
|
||||
|
||||
static pad(text, prefix) {
|
||||
return `${prefix.slice(text.length)}${text}`;
|
||||
}
|
||||
|
||||
static randomRange(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user