mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-13 17:07:23 +08:00
22 lines
282 B
Markdown
22 lines
282 B
Markdown
# 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'}
|
|
```
|