title: How to combine object of objects in to single object Angular
body: <p>Hi i have object of objects where i need to merge in to single object
  below is the object of objects :</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>{
    0: {
      CLIENTS_EMAIL: null
    }
    1: {
      CLIENTS_PASSWORD: null
    }
    2: {
      CLIENTS_CONFIRMPASSWORD: null
    }
    3: {
      CLIENTS_FIRSTNAME: null
    }
    4: {
      CLIENTS_LASTNAME: null
    }
    5: {
      CLIENTS_MOBILE: null
    }
    6: {
      CLIENTS_HOMEPHONE: null
    }
    7: {
      CLIENTS_BUSPHONE: null
    }
    8: {
      CLIENTS_RECEIVE_MARKETING_VIA: [
        0: {
          CLIENTS_ISMARKETINGVIAEMAIL: false
        }
        1: {
          CLIENTS_ISMARKETINGVIAMAIL: false
        }
        2: {
          CLIENTS_ISMARKETINGVIAPHONE: false
        }
        3: {
          CLIENTS_ISMARKETINGVIASMS: false
        }
      ]
    }
  }</code></pre>
  </div>
  </div>
  </p>
  <p>need this in to single object below is the example:</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 data = {
    
  CLIENTS_EMAIL: null,
  CLIENTS_PASSWORD: null,
  CLIENTS_CONFIRMPASSWORD: null,
  CLIENTS_FIRSTNAME: null,
  CLIENTS_LASTNAME: null,
  CLIENTS_MOBILE: null,
  CLIENTS_HOMEPHONE: null,
  CLIENTS_BUSPHONE: null,
  CLIENTS_ISMARKETINGVIAEMAIL: false,
  CLIENTS_ISMARKETINGVIAMAIL: false,
  CLIENTS_ISMARKETINGVIAPHONE: false,
  CLIENTS_ISMARKETINGVIASMS: false,
    
  }</code></pre>
  </div>
  </div>
  </p>
  <p>Below is the logic i am trying :</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>const data = Object.entries(Object.entries(object).map((data: any) =&gt; {
    return data[1]
  }))</code></pre>
  </div>
  </div>
  </p>
  <p>Looked in to other other functions also but dint succeed</p>