JSFiddle - React, Tailwind, and code Playground
JavaScript
const type = ['Delicious', 'Pretentious', 'Dirtbox', 'Slap up'];
const food = ['Chicken', 'Duck', 'BBQ', 'Pizza'];
const restaurantName = `${type[Math.floor(Math.random() * type.length)]} ${food[Math.floor(Math.random() * food.length)]}`;
console.log(restaurantName.toUpperCase());