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