Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-tube
like
281
Running
App
Files
Files
Community
9
5f6a9eb
ai-tube
/
src
/
lib
/
pick.ts
jbilcke-hf
HF staff
🍿
1f122c3
about 1 year ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
const
pick
= (
items:
string
[]
) => items[
Math
.
floor
(
Math
.
random
()*items.
length
)]