blob: c3f1f88e224c0fb8e5d4538155f23feb9039cb18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# ssn
```js
// usage
chance.ssn()
chance.ssn({ ssnFour: true })
chance.ssn({ dashes: false })
```
Generate a random social security number.
```js
chance.ssn();
=> '411-90-0070'
```
Optionally provide option of getting only the last four
```js
chance.ssn({ ssnFour: true });
=> '2938'
```
Optionally specify dashes be removed
```js
chance.ssn({ dashes: false });
=> '293839295'
```
|