mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-22 17:06:42 +08:00
388 B
388 B
ssn
// usage
chance.ssn()
chance.ssn({ ssnFour: true })
chance.ssn({ dashes: false })
Generate a random social security number.
chance.ssn();
=> '411-90-0070'
Optionally provide option of getting only the last four
chance.ssn({ ssnFour: true });
=> '2938'
Optionally specify dashes be removed
chance.ssn({ dashes: false });
=> '293839295'