[3, 4, 5]
['4', '1', 'abc123']
function combine_ids(ids){
return ids.join(',');
};
No matter what type of list, I want my function to return a string with single quotes around the elements.
The function should return:
'3','4','5'
and
'4','1','abc123'
I want my resulting string to have single quotes in them!
Simple logic!
Example output: