map react with index code example
Example: jsx map with index
materials.map((material,index) => console.log(index +" = " + material + " = " + materials[index]));
materials.map((material,index) => console.log(index +" = " + material + " = " + materials[index]));