Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add a text on last object map reactjs

{
	   data.map((item, i, arr) => <span>{item} {i != (arr.length-1) ? ', ' : ''}</span>)
        }
 
PREVIOUS NEXT
Tagged: #add #text #object #map #reactjs
ADD COMMENT
Topic
Name
6+6 =