The repeat() of a String constructs and returns a new string by repeating the given string a specified number of times and returns it.

    
    const phrase = 'Show me the money! ';

    const phraseRepeat = phrase.repeat(2);

    console.log(phraseRepeat);
    // "Show me the money! Show me the money! "