mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
websites: snapshot + todo: init
This commit is contained in:
@@ -149,6 +149,13 @@ function createUtils() {
|
||||
}
|
||||
return range;
|
||||
},
|
||||
/**
|
||||
* @template T
|
||||
* @param {T[]} array
|
||||
*/
|
||||
random(array) {
|
||||
return array[Math.floor(Math.random() * array.length)];
|
||||
},
|
||||
};
|
||||
|
||||
const dom = {
|
||||
|
||||
Reference in New Issue
Block a user