VueJS: How to output a comma separated array?

source: René Roth (2018), https://stackoverflow.com/questions/42129534/vuejs-how-to-output-a-comma-separated-array

If all you care about is comma separation, use Javascript’s built-in join method:

{{ list.join(', ') }}

For arrays of objects, you could do something like this:

{{ list.map(entry => entry.title).join(', ') }}