Consider I have this array of objects:
const workouts = [ { workoutId: 1, username: "John Doe", exercises: [ { exerciseId: 1