In my current project utilizing Vue and Quasar, I am hesitant to incorporate jQuery. Any suggestions on how to achieve a comma-separated string from an Array without using a loop? Ideally, I want to only combine a specific number of elements together.
Array.join(',')
Let's say, for instance, I have a list of publication IDs, where I need to eliminate duplicates and then group them into sets of 200 due to limitations with the web service. The initial array could potentially contain thousands of items.
30310060,30166592,29704517,29662190,29533787,28114741,27456065,27208808,26208975
The process involves sending chunks of 200 IDs at a time until the entire list has been processed. Eventually, the final string must be converted to JSON before transmitting it to the server. Any advice on handling this scenario would be greatly appreciated.