title: How to convert object to array in JavaScript?
body: <p>I have an object :</p>
  
  <pre><code>{
     firstName: false,
     lastName: false,
     email: false,
     phone: false,
     accountNumber: false
  }
  </code></pre>
  
  <p>How can I convert to array like this? :</p>
  
  <pre><code>[
    {firstName: false},
    {lastName: false},
    {email:'false'},
    {phone: false},
    {accountNumber: false}
  ]
  </code></pre>