SB-6.1-PRE

This commit is contained in:
ItzEmerald committed 2021-02-02 13:50:53 +00:00
1 parent 690169a409
commit 358a25f522
3760 files changed
+300059 -36

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# last
```js
// usage
chance.last()
chance.last({ nationality: 'en' })
```
Generate a random last name
```js
Chance.last();
=> 'Mago'
```
Optionally specify a nationality to limit first names to those most common of that nationality
```js
Chance.last({ nationality: 'it' });
=> 'Giovannini'
```
Note, currently support for nationality is limited to: `'en', 'it', 'nl', 'uk', 'de', 'jp', 'es', 'fr'`.