Dodaj tekst na mapie Ostatnich obiektów ReactJs
{
data.map((item, i, arr) => <span>{item} {i != (arr.length-1) ? ', ' : ''}</span>)
}
Mystic Dev
{
data.map((item, i, arr) => <span>{item} {i != (arr.length-1) ? ', ' : ''}</span>)
}