Add top 10 firstname girls and boys worldwide

This commit is contained in:
Mylloon 2022-06-23 12:50:11 +02:00
parent 50274a8e52
commit f57565d780
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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 = {