map index js from array react 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]));