Array.prototype.toStringbeginnerconst words = ['hello', 'world']
words.toString() // β 'hello,world'Use toString() for a quick comma-joined string when a simple representation is enough.
toString works on arrays of any type, not just numbers. It joins all elements with commas.
Implement stringArrayToString which returns the comma-separated string representation of a string array.