How to use Date toUTCString() function?

toUTCString() displays the complete UTC date.

        var aDate = new Date(Date.UTC(2021, 5, 4, 12, 21, 55)); 

        document.writeln(aDate.toUTCString());