/* eslint-disable max-len */ names = ['Yeeish', 'Yeeish', 'Yee', 'Yee', 'Yeer', 'Yeeler', 'Eagler', 'Eagl', 'Darver', 'Darvler', 'Vool', 'Vigg', 'Vigg', 'Deev', 'Yigg', 'Yeeg']; function getRandomItem(arr) { const randomIndex = Math.floor(Math.random() * arr.length); const item = arr[randomIndex]; return item; } const username = getRandomItem(names) + getRandomItem(names) + (10 + Math.floor(Math.random() * 90)); console.log(username);