JSFiddle - React, Tailwind, and code Playground

JavaScript

var N = 10;
var prenoms = ["Pifouille", "Guillaume", "Pommecoca", "Aymeric", "George", "Sodi", "Ben", "Kira", "Matt", "Exa"]
var noms = ["Cool", "Simplet", "Mouchoir", "Alambiqué", "Castagnette", "Dieu Progra", "Grognon", "Moquette", "Lumière", "Cueillière"]
var alea = function() {
    
    document.write(" " + Math.floor(Math.random() *20) + " " + Math.floor(Math.random() *20) + " " + Math.floor(Math.random() *20) + " " + " " + Math.floor(Math.random() *20) + " " + Math.floor(Math.random() *20) + "<br>");
};

i= 0;

while( i < 10 ) {

    document.write(prenoms[i] + " " + noms[i]);
    alea();
    i++;

}