mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 23:29:58 -07:00
bitview: reorg part 3
This commit is contained in:
@@ -15,6 +15,6 @@ export function range(start, end) {
|
||||
* @template T
|
||||
* @param {T[]} array
|
||||
*/
|
||||
export function random(array) {
|
||||
export function randomFromArray(array) {
|
||||
return array[Math.floor(Math.random() * array.length)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user