I'm trying to represent a taxpayer number that starts with 50... and then add 7 random digits after.
What I've tried is: const contribuinteComp = 50 + Math.floor(Math.random() * 1000000000);
Aucun commentaire:
Enregistrer un commentaire