top | item 36043288

(no title)

damienwebdev | 2 years ago

I'm one of the maintainers of Faker, so hopefully I can help remedy any situation we inadvertently created.

https://fakerjs.dev/api/helpers.html#arrayelement

I believe is what you're looking for. The issue, as I recall, is that all of Faker is random, so what does it mean to have a `random` module namespace. We moved it out of a hope for improved clarity.

discuss

order

nonethewiser|2 years ago

Oh shit, youre right. Thanks for that. I think I saw that method but didnt realize it is implicitly random (like an idiot)