Add top 10 firstname girls and boys worldwide
This commit is contained in:
parent
50274a8e52
commit
f57565d780
1 changed files with 23 additions and 1 deletions
|
@ -1,5 +1,27 @@
|
|||
const randomFirstname = () => {
|
||||
return "Maria";
|
||||
const firstnames = [
|
||||
"Sarah",
|
||||
"Emma",
|
||||
"Laura",
|
||||
"Chloé",
|
||||
"Marie",
|
||||
"Emily",
|
||||
"Léa",
|
||||
"Camille",
|
||||
"Anna",
|
||||
"Manon",
|
||||
"Alex",
|
||||
"Thomas",
|
||||
"David",
|
||||
"Daniel",
|
||||
"Kévin",
|
||||
"Michael",
|
||||
"Nicolas",
|
||||
"James",
|
||||
"John",
|
||||
"Lucas"
|
||||
]
|
||||
return firstnames[Math.floor(Math.random() * firstnames.length)];
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in a new issue