toString < Array < JavaScript
The toString() method of an array returns a string of all of the elements in the array, separated by commas.
const stuff = ['Detroit', 11, true, 99];
const stuffString = stuff.toString());
console.log(stuffString);
// "Detroit,11,true,99"