The toLocaleString() method of an array applies toLocaleString() to each element which applies the passed-in language and an options object that can contain things like the local timezone, adds a host-specific delimiter like a comma between each element, and returns a string of all of this.

    
    const things = [100, 'frog', new Date('25 Dec 2020 13:50:00 UTC')];

    const thingsLocaleString = things.toLocaleString('en', { timeZone: 'UTC' });

    console.log(thingsLocaleString);
    // "100,frog,12/25/2020, 1:50:00 PM"