title: Convert a map object to array of objects in Java script
body: <p>I am new to JS.</p>
  
  <p>I have a map object.</p>
  
  <pre><code> Map {$Central: 265045, $East: 178576, $South: 103926, $West: 272264}
  </code></pre>
  
  <p>I would like to convert it into an array of objects</p>
  
  <pre><code> [ {region:"Central", value: 265045}, {region:"East", value: 178576},
   {region:"South", value: 103926}, {region:"West", value: 272264} ]
  </code></pre>