Skip to content

Getting RangeError when using faker.string.alphanumeric without specifying max #2372

Closed Answered by ST-DDT
skrishnan22 asked this question in Q&A
Discussion options

You must be logged in to vote

According to our API docs: number | { min: number, max: number } the length.max parameter is required.

https://fakerjs.dev/api/string.html#alphanumeric

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@skrishnan22
Comment options

@ST-DDT
Comment options

@matthewmayer
Comment options

@ST-DDT
Comment options

@matthewmayer
Comment options

Answer selected by ST-DDT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants