SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
# zip
|
||||
|
||||
```js
|
||||
// usage
|
||||
chance.zip()
|
||||
chance.zip({plusfour: true})
|
||||
```
|
||||
|
||||
Generate a random (U.S.) zip code.
|
||||
|
||||
```js
|
||||
chance.zip();
|
||||
=> '90210'
|
||||
```
|
||||
|
||||
Can optionally specify that it ought to return a [Zip+4][zip+4]:
|
||||
|
||||
```js
|
||||
chance.zip({plusfour: true});
|
||||
=> '01035-1838'
|
||||
```
|
||||
|
||||
[zip+4]: http://vq.io/19rzsve
|
||||
Reference in new issue
Block a user