Converts an array to a comma-separated string.
The input array.
The comma-separated string or undefined if the input is not an array.
const inputArray = ['a', 'b', 'c'];const result = fromArray(inputArray); // 'a,b,c' Copy
const inputArray = ['a', 'b', 'c'];const result = fromArray(inputArray); // 'a,b,c'
Use String(arr) or arr.toString(). Will be removed in goldies 6.0.
String(arr)
arr.toString()
Converts an array to a comma-separated string.