Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

suffix

// usage randBox.suffix() randBox.suffix({ full: true })

Generate a random name suffix

randBox.suffix(); => 'Sr.'

By default, returns the shorter version.

Optionally get back the full version.

randBox.suffix({ full: true }); => 'Juris Doctor'

To maintain legacy support, this also responds to randBox.name_suffix().

Last updated on: