title: How to remove property from object
body: <p>We have an array of objects like this:</p>
  <pre><code>const arrOfObjects = [
    {
      name: 'Ronaldo',
      age: 20,
      status: true
    },
    {
      name: 'Messi',
      age: 30,
      status: false
    },
    {
      name: 'Benzema',
      age: 40,
      status: false
    },  
    {
      name: 'Vini',
      age: 50,
      status: false
    }
  ]
  </code></pre>
  <p>I would like to create new array of objects, based on this array, and add some new properties - so the <code>map</code> will be the best way.</p>
  <pre><code>const newArray = arrayOfObjects.map(obj =&gt; {
      return {
      ...obj,
      newProperty: 'newProperty',
      age:  // Here I want to check if status property is true, if yes, I would like to remove property age from current object
    }
  })
  </code></pre>
  <p>I would like to remove <code>age</code> property from object, if <code>status: true</code>. How can I do it?</p>