JSFiddle - React, Tailwind, and code Playground JavaScript var m = ['groupama', 'intermarché']; alert(m[Math.floor(Math.random() * m.length)]);