Javascript – In React loop through object within object with .map
This is my data export const courses = [ { id: 0, title: "first year", subjects: [ { id: 0, class: "french" }, { id: 1, class: "history" }, { id: 2, class: "geometry" } ], }, { id: 1,…