Convert map out to a string – Reactjs
I have below code const DisplayData = filteredCardMemberData.map( (info) => ( // eslint-disable-next-line react/jsx-key -- disabling eslint rule <div> {info.productDescription}</div> ) ); I gives the below output Apple Mango I want to convert the output as Apple, Mango Also, I…