title: How to remove a part of an object in javascript
body: <p>This is my code : </p>
  
  <pre><code>var data = [];
  $("#btn").click(function(){
      total++;
      data.push({        
          id : total,
          "cell": [
              "val1",
              "val2",
              "val3",
          ]
      });
  });
  </code></pre>
  
  <p>Every time that user clicks on <code>btn</code> button, I add some values to the data object. Now my question is here that how I can remove the part that has <code>id = X</code></p>