I have an array object below. I want to remove secondItem and fourthItem. I tried doing this but no luck
    var removed = item.splice(1)
How can I remove secondItem and fourthItem at the same time?
    items:[]
    0:
      firstItem: "testing"
      secondItem: "record"
      thirdItem: 30
      fourthItem: "40"
    1:
      firstItem: "testing2"
      secondItem: "record2"
      thirdItem: 33
      fourthItem: 44
It should look like this after removal
        0:
          firstItem: "testing"
          thirdItem: 30
        1:
          firstItem: "testing2"
          thirdItem: 33
 
     
    