* 生成随机名字
(country)
| 772 | * 生成随机名字 |
| 773 | */ |
| 774 | function generateFirstName(country) { |
| 775 | const lang = getLanguageForCountry(country); |
| 776 | const names = NAME_DATABASE[lang] || NAME_DATABASE.en; |
| 777 | return randomChoice(names.firstNames); |
| 778 | } |
| 779 | |
| 780 | /** |
| 781 | * 生成随机姓氏 |
no test coverage detected