How can I delete a specific nested object from an array?

后端 未结 0 1578
眼角桃花
眼角桃花 2021-01-22 21:28

Consider I have this array of objects:

const workouts = [
  {
    workoutId: 1,
    username: "John Doe",
    exercises: [
      {
        exerciseId: 1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题