Skip to Content
🎲 欢迎使用 RandBox - 功能强大的 JavaScript 随机数据生成库! 了解详情

suffix

// 用法 randBox.suffix() randBox.suffix({ full: true })

生成一个随机姓名后缀

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

默认情况下,返回较短的版本。

可选择获取完整版本。

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

为了维护遗留支持,这也响应 randBox.name_suffix()。

最后更新于: