Mixed messages project using self calling anonymous funcion

Tried to come up with a fun way of writing this code.
Also just googled quote json files and copied and pasted it to a QUOTE_CARD object with a quotes array containing a quote objects with the keys ‘author’ and ‘quote’.

QUOTE_CARD.quotes[rand]

const QUOTE_CARDS;

let randQuote = Math.floor(Math.random() * QUOTE_CARDS.quotes.length - 1);

((strg)=> {
    console.log(strg.author + ': "' + strg.quote + '"');

})(QUOTE_CARDS.quotes[randQuote]);