I have the method below in my react.js application. I will like to concatenate this line {dt.productCode} {dt.sizeCode} {dt.itemWearerName} such that asterisk will be between them.
1234*xl*tester
How can I achieve that?
renderInvoicesProducts(){
return this.state.invoicesProducts.map((dt, i) => {
return (
<MenuItem key={i} value={dt.customerInvoiceProductId}>
{dt.productCode} {dt.sizeCode} {dt.itemWearerName}
</MenuItem>
);
});
}