last
// usage
randBox.last()
randBox.last({ nationality: 'en' })
Generate a random last name
randBox.last();
=> 'Mago'
Optionally specify a nationality to limit first names to those most common of that nationality
randBox.last({ nationality: 'it' });
=> 'Giovannini'
Note, currently support for nationality is limited to: 'en', 'it', 'nl', 'uk', 'de', 'jp', 'es', 'fr'
.
Last updated on: