SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
# exp
|
||||
|
||||
```js
|
||||
// usage
|
||||
chance.exp()
|
||||
chance.exp({raw: true})
|
||||
```
|
||||
|
||||
Generate a random credit card expiration.
|
||||
|
||||
```js
|
||||
chance.exp();
|
||||
=> '10/2020'
|
||||
```
|
||||
|
||||
Optionally specify that a raw object be returned rather than a string
|
||||
|
||||
```js
|
||||
chance.exp({raw: true});
|
||||
=> {month: '11', year: '2017'}
|
||||
```
|
||||
Reference in new issue
Block a user