title: how to remove an element from a list typescript
body: <p>Im using Angular 6, I have list and Im exporting it to CSV file using <a href="https://www.npmjs.com/package/angular5-csv" rel="nofollow noreferrer">Angular5-csv</a>, I want to remove the last column of the list i.e., the last element of each array in the list. my list looks like </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let traceslist = [
  {
    "name": "abcd",
    "email": "abcd@example.com",
    "decision": "yes",
    "userid": "abcd"
  },
  {
    "name": "phill";
    "email": "abcd@example.com";
    "decision": "yes";
    "userid": "phill";
  },
  {
    "name": "raj";
    "email": "raj@example.com";
    "decision": "no";
    "userid": "raj";
  },
  {
    "name": "john";
    "email": "john@example.com";
    "decision": "yes";
    "userid": "john";
  }
  ]</code></pre>
  </div>
  </div>
  </p>
  
  <p>now, I want to remove the elements userid, so that the column will not be present in my csv file, from the list. I have tried using splice but that was not successful.   </p>
  
  <p>It'd be great if anyone of you can help me with this. </p>