I have the following data: Now I need to calculate the average difficulty and fun rates per assignment. As you can see, not every student has the same assignments. What approach is the best when starting blanco. .map()? Or better for (var i = 0; i < assignments.length; i++){//do something} methode? I assume it is wise to first iterate over