Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. var prenom = [
  2. 'Nicolas',
  3. 'Jean',
  4. 'Julien',
  5. 'Sébastien',
  6. 'Anthony',
  7. 'Romain',
  8. 'Kévin',
  9. 'Maxime',
  10. 'Thomas',
  11. 'Jeremy',
  12. 'Jordan',
  13. 'Alexandre',
  14. 'Quentin',
  15. 'Dylan',
  16. 'Antoine',
  17. 'Lucas',
  18. 'Clement',
  19. 'Céline',
  20. 'Aurélie',
  21. 'Émilie',
  22. 'Marie',
  23. 'Audrey',
  24. 'Stéphanie',
  25. 'Julie',
  26. 'Élodie',
  27. 'Elodie',
  28. 'Laura',
  29. 'Pauline',
  30. 'Marine',
  31. 'Justine',
  32. 'Marion',
  33. 'Manon',
  34. 'Anaïs',
  35. 'Camille',
  36. 'Léa',
  37. 'Chloé',
  38. 'Oceane',
  39. 'Sarah',
  40. 'Emma',
  41. 'Inès',
  42. 'Clara'
  43. ]
  44.  
  45. var nom = [
  46. 'MARTIN',
  47. 'Bernard',
  48. 'Thomas',
  49. 'Petit',
  50. 'Robert',
  51. 'Richard',
  52. 'Durand',
  53. 'Dubois',
  54. 'Moreau',
  55. 'Laurent',
  56. 'Simon',
  57. 'Michel',
  58. 'Lefebvre',
  59. 'Leroy',
  60. 'Roux',
  61. 'David',
  62. 'Bertrand',
  63. 'Morel',
  64. 'Fournier',
  65. 'Girard',
  66. 'Bonnet',
  67. 'Dupont',
  68. 'Lambert',
  69. 'Fontaine',
  70. 'Rousseau',
  71. 'Vincent',
  72. 'Muller',
  73. 'Lefevre',
  74. 'Faure',
  75. 'Andre',
  76. 'Mercier',
  77. 'Blanc',
  78. 'Guerin',
  79. 'Boyer',
  80. 'Garnier',
  81. 'Chevalier',
  82. 'Francois',
  83. 'Legrand',
  84. 'Gauthier',
  85. 'Garcia',
  86. 'Perrin',
  87. 'Robin',
  88. 'Clement',
  89. 'Morin',
  90. 'Nicolas',
  91. 'Henry',
  92. 'Roussel',
  93. 'Mathieu',
  94. 'Gautier',
  95. 'Masson',
  96. 'Marchand',
  97. 'Duval',
  98. 'Denis',
  99. 'Dumont',
  100. 'Marie',
  101. 'Lemaire',
  102. 'Noel',
  103. 'Meyer',
  104. 'Dufour',
  105. 'Meunier',
  106. 'Brun',
  107. 'Blanchard',
  108. 'Giraud',
  109. 'Joly',
  110. 'Riviere',
  111. 'Lucas',
  112. 'Brunet',
  113. 'Gaillard',
  114. 'Barbier',
  115. 'Arnaud',
  116. 'Martinez',
  117. 'Gerard',
  118. 'Roche',
  119. 'Renard',
  120. 'Schmitt',
  121. 'Roy',
  122. 'Leroux',
  123. 'Colin',
  124. 'Vidal',
  125. 'Caron',
  126. 'Picard',
  127. 'Roger',
  128. 'Fabre',
  129. 'Aubert',
  130. 'Lemoine',
  131. 'Renaud',
  132. 'Dumas',
  133. 'Lacroix',
  134. 'Olivier',
  135. 'Philippe',
  136. 'Bourgeois',
  137. 'Pierre',
  138. ]
  139.  
  140. Array.prototype.randomElement = function () {
  141. return this[Math.floor(Math.random() * this.length)]
  142. }
  143.  
  144.  
  145. setInterval(() => {
  146.  
  147. for (var i = 0; i < 20; i++) {
  148. p = prenom.randomElement()
  149. n = nom.randomElement()
  150. document.getElementById('user_login').value = p + ' - ' + n
  151. document.getElementById('email').value = `${p}-${n}@yopmazrk${i}jeoz.fr`
  152. document.getElementById('first_name').value = p
  153. document.getElementById('last_name').value = n
  154. document.getElementById('role').value = 'customer'
  155. }
  156.  
  157. console.log('----------')
  158. console.log(' Go ! ')
  159. console.log('----------')
  160.  
  161. setTimeout(() => {}, 500)
  162. }, 1000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement