Wednesday, 1 January 2020

javascript - jQuery .each() - Identify last item

I want to add a comma between a set of strings using the .each() function except for at the end. How is it possible to get rid of that last comma?

No comments:

Post a Comment