JavaScript obtient un numéro flottant aléatoire
const randomFloat = (min, max) => Math.random() * (max - min) + min;
Batman
const randomFloat = (min, max) => Math.random() * (max - min) + min;
let object = random(0, 50);
// making "object" a random number between 0 and 50.
console.log(object);
// printing object in the console