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

zip

// 用法 randBox.zip() randBox.zip({plusfour: true})

生成一个随机的(美国)邮政编码。

randBox.zip(); => '90210'

可选择指定应该返回 Zip+4  格式:

randBox.zip({plusfour: true}); => '01035-1838'
最后更新于: